pythonPackages.pyshp : move to separate expression

This commit is contained in:
wisut hantanong 2017-08-31 21:03:02 +07:00
parent b9eebaf8bb
commit 489bfcfa0f
2 changed files with 22 additions and 24 deletions

View 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;
};
}

View File

@ -17819,30 +17819,7 @@ in {
pyrr = callPackage ../development/python-modules/pyrr { }; pyrr = callPackage ../development/python-modules/pyrr { };
meta = { pyshp = callPackage ../development/python-modules/pyshp { };
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;
};
};
pyspread = callPackage ../development/python-modules/pyspread { }; pyspread = callPackage ../development/python-modules/pyspread { };