forked from mirrors/nixpkgs
python.pkgs.numpy-stl: init at 2.3.2
This commit is contained in:
parent
3264001a9d
commit
5ba9411d02
24
pkgs/development/python-modules/numpy-stl/default.nix
Normal file
24
pkgs/development/python-modules/numpy-stl/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numpy-stl";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0w3f9yhw4mg88drqnn17gaqxbx941p3hg0rn8fsqrf5ry56h93k2";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
|
||||
checkPhase = "py.test";
|
||||
|
||||
propagatedBuildInputs = [ cython numpy nine python-utils enum34 ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to make reading, writing and modifying both binary and ascii STL files easy";
|
||||
homepage = "https://github.com/WoLpH/numpy-stl/";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -13348,6 +13348,8 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
numpy-stl = callPackage ../development/python-modules/numpy-stl { };
|
||||
|
||||
numtraits = buildPythonPackage rec {
|
||||
pname = "numtraits";
|
||||
version = "0.2";
|
||||
|
|
Loading…
Reference in a new issue