1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00

proj-datumgrid: init at world-1.0

This commit is contained in:
Jonathan Ringer 2019-07-11 13:11:30 -07:00
parent d9504f9aab
commit 80dd36749a
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "proj-datumgrid";
version = "world-1.0";
src = fetchFromGitHub {
owner = "OSGeo";
repo = "proj-datumgrid";
rev = version;
sha256 = "132wp77fszx33wann0fjkmi1isxvsb0v9iw0gd9sxapa9h6hf3am";
};
sourceRoot = "source/scripts";
buildPhase = ''
$CC nad2bin.c -o nad2bin
'';
installPhase = ''
mkdir -p $out/bin
cp nad2bin $out/bin/
'';
meta = with stdenv.lib; {
description = "Repository for proj datum grids";
homepage = https://proj4.org;
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ ];
};
}

View file

@ -12707,6 +12707,8 @@ in
proj = callPackage ../development/libraries/proj { };
proj-datumgrid = callPackage ../development/libraries/proj-datumgrid { };
proselint = callPackage ../tools/text/proselint {
inherit (python3Packages)
buildPythonApplication click future six;