tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.descartes: init at 1.1.0
Josef Kemetmueller
8 years ago
f039bb6b
4d70d536
+28
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
descartes
default.nix
top-level
python-packages.nix
+26
pkgs/development/python-modules/descartes/default.nix
···
1
1
+
{ stdenv, buildPythonPackage, fetchPypi,
2
2
+
matplotlib, shapely
3
3
+
}:
4
4
+
5
5
+
buildPythonPackage rec {
6
6
+
pname = "descartes";
7
7
+
version = "1.1.0";
8
8
+
name = "${pname}-${version}";
9
9
+
10
10
+
src = fetchPypi {
11
11
+
inherit pname version;
12
12
+
sha256 = "0nq36w9ylvfwmwn5qd9c8fsp2jzsqpmy4xcr6pzxcpmg8qhm0nhk";
13
13
+
};
14
14
+
15
15
+
propagatedBuildInputs = [
16
16
+
matplotlib
17
17
+
shapely
18
18
+
];
19
19
+
20
20
+
meta = with stdenv.lib; {
21
21
+
description = "Python library to use Shapely or GeoJSON objects as matplotlib paths";
22
22
+
homepage = https://bitbucket.org/sgillies/descartes/;
23
23
+
license = licenses.bsd3;
24
24
+
maintainers = with maintainers; [ knedlsepp ];
25
25
+
};
26
26
+
}
+2
pkgs/top-level/python-packages.nix
···
8997
8997
};
8998
8998
});
8999
8999
9000
9000
+
descartes = callPackage ../development/python-modules/descartes { };
9001
9001
+
9000
9002
distutils_extra = buildPythonPackage rec {
9001
9003
name = "distutils-extra-${version}";
9002
9004
version = "2.39";