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-07-22 11:08:53 +01:00
|
|
|
version = "1.7.13";
|
2017-09-03 10:05:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:08:53 +01:00
|
|
|
sha256 = "a156129f0904cb7eb24aa0745b6075da54f2c31db168ed3bcac8a4bd716d77b2";
|
2017-09-03 10:05:57 +01:00
|
|
|
};
|
|
|
|
|
2018-09-09 21:40:49 +01:00
|
|
|
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|