41 lines
764 B
Nix
41 lines
764 B
Nix
{ stdenv, buildPythonPackage, fetchPypi,
|
|
six, cligj, munch, click-plugins, enum34, pytest, nose,
|
|
gdal
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Fiona";
|
|
version = "1.7.10.post1";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "fc4c8996be3131f36c791d66273317d38b72b19dc24c2afc332fd734752eb7a8";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|