nixpkgs/pkgs/development/libraries/proj/default.nix

30 lines
711 B
Nix
Raw Normal View History

2021-04-11 16:26:22 +01:00
{ lib, stdenv, fetchFromGitHub, pkg-config, sqlite, autoreconfHook, libtiff, curl }:
2019-07-10 01:39:33 +01:00
stdenv.mkDerivation rec {
2020-03-27 23:49:34 +00:00
pname = "proj";
2021-04-11 16:26:22 +01:00
version = "7.2.1";
2019-07-10 01:39:33 +01:00
src = fetchFromGitHub {
owner = "OSGeo";
repo = "PROJ";
rev = version;
2021-04-11 16:26:22 +01:00
sha256 = "0mymvfvs8xggl4axvlj7kc1ksd9g94kaz6w1vdv0x2y5mqk93gx9";
};
2019-07-10 01:39:33 +01:00
outputs = [ "out" "dev"];
nativeBuildInputs = [ pkg-config autoreconfHook ];
2021-04-11 16:26:22 +01:00
buildInputs = [ sqlite libtiff curl ];
2019-07-10 01:39:33 +01:00
2017-02-12 09:59:23 +00:00
doCheck = stdenv.is64bit;
meta = with lib; {
description = "Cartographic Projections Library";
homepage = "https://proj4.org";
2014-11-08 20:15:46 +00:00
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
2015-06-18 17:41:25 +01:00
maintainers = with maintainers; [ vbgl ];
};
}