2016-06-26 08:03:58 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, boost, proj, gdal, sqlite, pkgconfig }:
|
2010-06-13 20:32:04 +01:00
|
|
|
|
2011-05-08 10:35:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-06-26 08:03:58 +01:00
|
|
|
name = "merkaartor-${version}";
|
|
|
|
version = "0.18.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "openstreetmap";
|
|
|
|
repo = "merkaartor";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1a8kzrc9w0b2a2zgw9dbbi15jy9ynv6nf2sg3k4dbh7f1s2ajx9l";
|
2010-06-13 20:32:04 +01:00
|
|
|
};
|
|
|
|
|
2016-06-26 08:03:58 +01:00
|
|
|
buildInputs = [ qt4 boost proj gdal sqlite ];
|
2010-06-13 20:32:04 +01:00
|
|
|
|
2016-06-26 08:03:58 +01:00
|
|
|
nativeBuildInputs = [ qmake4Hook pkgconfig ];
|
2016-04-17 00:33:35 +01:00
|
|
|
|
2010-06-13 20:32:04 +01:00
|
|
|
meta = {
|
|
|
|
description = "An openstreetmap editor";
|
|
|
|
homepage = http://merkaartor.org/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
2011-05-08 10:35:37 +01:00
|
|
|
inherit (qt4.meta) platforms;
|
2010-06-13 20:32:04 +01:00
|
|
|
};
|
|
|
|
}
|