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