2017-09-03 10:05:57 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
|
|
|
six, cligj, munch, click-plugins, enum34, pytest, nose,
|
|
|
|
gdal
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Fiona";
|
2018-06-12 17:47:00 +01:00
|
|
|
version = "1.7.12";
|
2017-09-03 10:05:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:47:00 +01:00
|
|
|
sha256 = "8b54eb8422d7c502bb7776b184018186bede1a489cf438a7a47f992ade6a0e51";
|
2017-09-03 10:05:57 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|