mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
proj: 5.2.0 -> 6.1.1
This commit is contained in:
parent
95395fbf54
commit
d55cba68ff
|
@ -1,13 +1,22 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchFromGitHub, pkg-config, sqlite, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "proj-5.2.0";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "proj";
|
||||
version = "6.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://download.osgeo.org/proj/proj-5.2.0.tar.gz;
|
||||
sha256 = "0q3ydh2j8qhwlxmnac72pg69rw2znbi5b6k5wama8qmwzycr94gg";
|
||||
src = fetchFromGitHub {
|
||||
owner = "OSGeo";
|
||||
repo = "PROJ";
|
||||
rev = version;
|
||||
sha256 = "0w2v2l22kv0xzq5hwl7n8ki6an8vfsr0lg0cdbkwcl4xv889ysma";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev"];
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
buildInputs = [ sqlite ];
|
||||
|
||||
doCheck = stdenv.is64bit;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue