forked from mirrors/nixpkgs
Merge pull request #60347 from risicle/ris-basemap-fix
pythonPackages.basemap: 1.0.7 -> 1.2.0, fixes build on py3.7
This commit is contained in:
commit
729273b8eb
|
@ -1,24 +1,29 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, matplotlib
|
||||
, pillow
|
||||
, setuptools
|
||||
, pyproj
|
||||
, pyshp
|
||||
, six
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "basemap";
|
||||
version = "1.0.7";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/matplotlib/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz";
|
||||
sha256 = "0ca522zirj5sj10vg3fshlmgi615zy5gw2assapcj91vsvhc4zp0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "matplotlib";
|
||||
repo = "basemap";
|
||||
rev = "v${version}rel";
|
||||
sha256 = "1p3app8n65rlppkdbp1pb7fa4250kh7hi7lzdsryi2iv88np7193";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy matplotlib pillow ];
|
||||
buildInputs = [ setuptools pkgs.geos pkgs.proj ];
|
||||
propagatedBuildInputs = [ numpy matplotlib pillow pyproj pyshp six ];
|
||||
buildInputs = [ setuptools pkgs.geos ];
|
||||
|
||||
# Standard configurePhase from `buildPythonPackage` seems to break the setup.py script
|
||||
configurePhase = ''
|
||||
|
|
Loading…
Reference in a new issue