pythonPackages.basemap: 1.0.7 -> 1.2.0, fixes build on py3.7
upstream seems to have moved to github without updating its pypi packages
This commit is contained in:
parent
8d64ec7a17
commit
3d38c01e5c
@ -1,24 +1,29 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchurl
|
, fetchFromGitHub
|
||||||
, numpy
|
, numpy
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, pillow
|
, pillow
|
||||||
, setuptools
|
, setuptools
|
||||||
|
, pyproj
|
||||||
|
, pyshp
|
||||||
|
, six
|
||||||
, pkgs
|
, pkgs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "basemap";
|
pname = "basemap";
|
||||||
version = "1.0.7";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/project/matplotlib/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz";
|
owner = "matplotlib";
|
||||||
sha256 = "0ca522zirj5sj10vg3fshlmgi615zy5gw2assapcj91vsvhc4zp0";
|
repo = "basemap";
|
||||||
|
rev = "v${version}rel";
|
||||||
|
sha256 = "1p3app8n65rlppkdbp1pb7fa4250kh7hi7lzdsryi2iv88np7193";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy matplotlib pillow ];
|
propagatedBuildInputs = [ numpy matplotlib pillow pyproj pyshp six ];
|
||||||
buildInputs = [ setuptools pkgs.geos pkgs.proj ];
|
buildInputs = [ setuptools pkgs.geos ];
|
||||||
|
|
||||||
# Standard configurePhase from `buildPythonPackage` seems to break the setup.py script
|
# Standard configurePhase from `buildPythonPackage` seems to break the setup.py script
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user