mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
pythonPackages.pyshp : move to separate expression
This commit is contained in:
parent
b9eebaf8bb
commit
489bfcfa0f
21
pkgs/development/python-modules/pyshp/default.nix
Normal file
21
pkgs/development/python-modules/pyshp/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, setuptools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.2.3";
|
||||
pname = "pyshp";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e18cc19659dadc5ddaa891eb780a6958094da0cf105a1efe0f67e75b4fa1cdf9";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pure Python read/write support for ESRI Shapefile format";
|
||||
homepage = https://github.com/GeospatialPython/pyshp;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -17819,30 +17819,7 @@ in {
|
||||
|
||||
pyrr = callPackage ../development/python-modules/pyrr { };
|
||||
|
||||
meta = {
|
||||
description = "3D mathematical functions using NumPy";
|
||||
homepage = https://github.com/adamlwgriffiths/Pyrr/;
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
};
|
||||
|
||||
pyshp = buildPythonPackage rec {
|
||||
name = "pyshp-${version}";
|
||||
version = "1.2.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyshp/pyshp-${version}.tar.gz";
|
||||
sha256 = "e18cc19659dadc5ddaa891eb780a6958094da0cf105a1efe0f67e75b4fa1cdf9";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ setuptools ];
|
||||
|
||||
meta = {
|
||||
description = "Pure Python read/write support for ESRI Shapefile format";
|
||||
homepage = https://github.com/GeospatialPython/pyshp;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
pyshp = callPackage ../development/python-modules/pyshp { };
|
||||
|
||||
pyspread = callPackage ../development/python-modules/pyspread { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user