2017-09-03 11:05:57 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
|
|
|
six, cligj, munch, click-plugins, enum34, pytest, nose,
|
|
|
|
gdal
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Fiona";
|
2017-12-30 12:22:48 +01:00
|
|
|
version = "1.7.11";
|
2017-09-03 11:05:57 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:22:48 +01:00
|
|
|
sha256 = "5e9c68ea71e9d79fcfb68c9a101c0b133301e233c9bcca7b7c65f33cc7636ef5";
|
2017-09-03 11:05:57 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|