Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python.pkgs.numpy-stl: init at 2.3.2

+26
+24
pkgs/development/python-modules/numpy-stl/default.nix
··· 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 13348 }; 13349 13349 }; 13350 13350 13351 + numpy-stl = callPackage ../development/python-modules/numpy-stl { }; 13352 + 13351 13353 numtraits = buildPythonPackage rec { 13352 13354 pname = "numtraits"; 13353 13355 version = "0.2";