2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi,
|
2017-09-03 10:04:34 +01:00
|
|
|
matplotlib, shapely
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "descartes";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0nq36w9ylvfwmwn5qd9c8fsp2jzsqpmy4xcr6pzxcpmg8qhm0nhk";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
matplotlib
|
|
|
|
shapely
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-03 10:04:34 +01:00
|
|
|
description = "Python library to use Shapely or GeoJSON objects as matplotlib paths";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/sgillies/descartes/";
|
2017-09-03 10:04:34 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ knedlsepp ];
|
2021-03-05 00:08:00 +00:00
|
|
|
# all tests are failing
|
|
|
|
broken = true;
|
2017-09-03 10:04:34 +01:00
|
|
|
};
|
|
|
|
}
|