python.pkgs.geopandas: fix tests

This commit is contained in:
Jörg Thalheim 2017-09-05 08:20:30 +01:00
parent 05ac3f9520
commit 1dbe68a5e8

View File

@ -1,16 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, { stdenv, buildPythonPackage, fetchFromGitHub
pandas, shapely, fiona, descartes, pyproj }: , pandas, shapely, fiona, descartes, pyproj
, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "geopandas"; name = "geopandas-${version}";
version = "0.3.0"; version = "0.3.0";
name = "${pname}-${version}";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "geopandas";
sha256 = "02wj58aqyq1nr0axz2vci72zvpkmalrj570lrndqqvai7qmb6fz6"; repo = "geopandas";
rev = "v${version}";
sha256 = "0maafafr7sjjmlg2f19bizg06c8a5z5igmbcgq6kgmi7rklx8xxz";
}; };
checkInputs = [ pytest ];
checkPhase = ''
py.test geopandas
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
pandas pandas
shapely shapely