mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
43 lines
797 B
Nix
43 lines
797 B
Nix
{ stdenv, buildPythonPackage, fetchPypi,
|
|
six, cligj, munch, click-plugins, enum34, pytest, nose,
|
|
gdal
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Fiona";
|
|
version = "1.8.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "aec9ab2e3513c9503ec123b1a8573bee55fc6a66e2ac07088c3376bf6738a424";
|
|
};
|
|
|
|
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";
|
|
|
|
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 ];
|
|
};
|
|
}
|