nixpkgs/pkgs/development/python-modules/fiona/default.nix

42 lines
763 B
Nix
Raw Normal View History

2017-09-03 09:05:57 +00:00
{ stdenv, buildPythonPackage, fetchPypi,
six, cligj, munch, click-plugins, enum34, pytest, nose,
gdal
}:
buildPythonPackage rec {
pname = "Fiona";
2017-10-25 18:04:35 +00:00
version = "1.7.9.post1";
2017-09-03 09:05:57 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-10-25 18:04:35 +00:00
sha256 = "68e8a925b23e3987845c11b0fdd6378fdec4316fe8ba767a935151b6ee1fc607";
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 ];
};
}