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

30 lines
682 B
Nix
Raw Normal View History

2019-07-10 00:39:33 +00:00
{ stdenv, fetchFromGitHub, pkg-config, sqlite, autoreconfHook }:
2019-07-10 00:39:33 +00:00
stdenv.mkDerivation rec {
name = "proj";
version = "6.1.1";
2019-07-10 00:39:33 +00:00
src = fetchFromGitHub {
owner = "OSGeo";
repo = "PROJ";
rev = version;
sha256 = "0w2v2l22kv0xzq5hwl7n8ki6an8vfsr0lg0cdbkwcl4xv889ysma";
};
2019-07-10 00:39:33 +00:00
outputs = [ "out" "dev"];
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ sqlite ];
2017-02-12 09:59:23 +00:00
doCheck = stdenv.is64bit;
2014-11-08 20:15:46 +00:00
meta = with stdenv.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 16:41:25 +00:00
maintainers = with maintainers; [ vbgl ];
};
}