2017-09-03 09:05:57 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
|
|
|
six, cligj, munch, click-plugins, enum34, pytest, nose,
|
|
|
|
gdal
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Fiona";
|
2018-02-17 13:19:40 +00:00
|
|
|
version = "1.7.11.post1";
|
2017-09-03 09:05:57 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 13:19:40 +00:00
|
|
|
sha256 = "35df044fa805e6b420450f5d4281fc0edf96e1da0545c31032045cd3cfad3abf";
|
2017-09-03 09:05:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gdal
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
cligj
|
|
|
|
munch
|
|
|
|
click-plugins
|
|
|
|
enum34
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
nose
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "OGR's neat, nimble, no-nonsense API for Python";
|
|
|
|
homepage = http://toblerity.org/fiona/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ knedlsepp ];
|
|
|
|
};
|
|
|
|
}
|