mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
gosmore: update, fix checksum
This commit is contained in:
parent
daa9e53e26
commit
bddffb705f
@ -1,34 +1,30 @@
|
||||
a@{fetchsvn, libxml2, gtk, curl, pkgconfig, lib, ...} :
|
||||
let
|
||||
fetchsvn = a.fetchsvn;
|
||||
{ stdenv, fetchsvn, libxml2, gtk, curl, pkgconfig } :
|
||||
|
||||
buildInputs = with a; [
|
||||
libxml2 gtk curl pkgconfig
|
||||
];
|
||||
let
|
||||
version = "30811";
|
||||
in
|
||||
rec {
|
||||
stdenv.mkDerivation {
|
||||
name = "gosmore-r${version}";
|
||||
src = fetchsvn {
|
||||
url = http://svn.openstreetmap.org/applications/rendering/gosmore;
|
||||
sha256 = "0ds61gl75rnzvm0hj9papl5sfcgdv4310df9ch7x9rifssfli9zm";
|
||||
rev = "24178";
|
||||
} + "/";
|
||||
sha256 = "0qyvrb4xgy4msc7f65widzkvjzc8mlddc4dyr1i76b7wd3gpk0xj";
|
||||
rev = "${version}";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
buildInputs = [ libxml2 gtk curl ];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["fixCurlIncludes" "doConfigure" "doMakeInstall"];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
fixCurlIncludes = a.fullDepEntry ''
|
||||
prePatch = ''
|
||||
sed -e '/curl.types.h/d' -i *.{c,h,hpp,cpp}
|
||||
'' ["minInit" "doUnpack"];
|
||||
'';
|
||||
|
||||
name = "gosmore-r21657";
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Open Street Map viewer";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
homepage = http://sourceforge.net/projects/gosmore/;
|
||||
maintainers = with maintainers; [
|
||||
raskin
|
||||
];
|
||||
platforms = a.lib.platforms.linux;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -9800,9 +9800,7 @@ let
|
||||
libpng = libpng12;
|
||||
};
|
||||
|
||||
gosmore = builderDefsPackage ../applications/misc/gosmore {
|
||||
inherit fetchsvn curl pkgconfig libxml2 gtk;
|
||||
};
|
||||
gosmore = callPackage ../applications/misc/gosmore { };
|
||||
|
||||
gpsbabel = callPackage ../applications/misc/gpsbabel { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user