2019-07-10 02:39:33 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkg-config, sqlite, autoreconfHook }:
|
2010-07-28 13:55:54 +02:00
|
|
|
|
2019-07-10 02:39:33 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "proj";
|
|
|
|
version = "6.1.1";
|
2007-12-05 22:25:47 +01:00
|
|
|
|
2019-07-10 02:39:33 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OSGeo";
|
|
|
|
repo = "PROJ";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0w2v2l22kv0xzq5hwl7n8ki6an8vfsr0lg0cdbkwcl4xv889ysma";
|
2007-12-05 22:25:47 +01:00
|
|
|
};
|
|
|
|
|
2019-07-10 02:39:33 +02:00
|
|
|
outputs = [ "out" "dev"];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
|
2017-02-12 10:59:23 +01:00
|
|
|
doCheck = stdenv.is64bit;
|
2016-02-22 19:05:17 +01:00
|
|
|
|
2014-11-08 21:15:46 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Cartographic Projections Library";
|
2019-04-22 10:14:28 +02:00
|
|
|
homepage = https://proj4.org;
|
2014-11-08 21:15:46 +01:00
|
|
|
license = licenses.mit;
|
2016-02-22 19:05:17 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2015-06-18 18:41:25 +02:00
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2007-12-05 22:25:47 +01:00
|
|
|
};
|
|
|
|
}
|