1{ stdenv, buildPythonPackage, fetchPypi,
2 matplotlib, shapely
3}:
4
5buildPythonPackage rec {
6 pname = "descartes";
7 version = "1.1.0";
8 name = "${pname}-${version}";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "0nq36w9ylvfwmwn5qd9c8fsp2jzsqpmy4xcr6pzxcpmg8qhm0nhk";
13 };
14
15 propagatedBuildInputs = [
16 matplotlib
17 shapely
18 ];
19
20 meta = with stdenv.lib; {
21 description = "Python library to use Shapely or GeoJSON objects as matplotlib paths";
22 homepage = https://bitbucket.org/sgillies/descartes/;
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ knedlsepp ];
25 };
26}