gosmore: update, fix checksum

This commit is contained in:
Nikolay Amiantov 2014-11-19 15:30:59 +03:00
parent daa9e53e26
commit bddffb705f
2 changed files with 18 additions and 24 deletions

View File

@ -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;
};
}

View File

@ -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 { };