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
python.pkgs.numpy-stl: init at 2.3.2
Nikolay Amiantov
8 years ago
5ba9411d
3264001a
+26
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
numpy-stl
default.nix
top-level
python-packages.nix
+24
pkgs/development/python-modules/numpy-stl/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
2
+
3
+
buildPythonPackage rec {
4
+
pname = "numpy-stl";
5
+
name = "${pname}-${version}";
6
+
version = "2.3.2";
7
+
8
+
src = fetchPypi {
9
+
inherit pname version;
10
+
sha256 = "0w3f9yhw4mg88drqnn17gaqxbx941p3hg0rn8fsqrf5ry56h93k2";
11
+
};
12
+
13
+
checkInputs = [ pytest pytestrunner ];
14
+
15
+
checkPhase = "py.test";
16
+
17
+
propagatedBuildInputs = [ cython numpy nine python-utils enum34 ];
18
+
19
+
meta = with lib; {
20
+
description = "Library to make reading, writing and modifying both binary and ascii STL files easy";
21
+
homepage = "https://github.com/WoLpH/numpy-stl/";
22
+
license = licenses.bsd3;
23
+
};
24
+
}
+2
pkgs/top-level/python-packages.nix
···
13348
};
13349
};
13350
0
0
13351
numtraits = buildPythonPackage rec {
13352
pname = "numtraits";
13353
version = "0.2";
···
13348
};
13349
};
13350
13351
+
numpy-stl = callPackage ../development/python-modules/numpy-stl { };
13352
+
13353
numtraits = buildPythonPackage rec {
13354
pname = "numtraits";
13355
version = "0.2";