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