mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
24 lines
654 B
Nix
24 lines
654 B
Nix
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "numpy-stl";
|
|
version = "2.11.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1z6b740fpkr8fbbhw79l29hmwf76xcda6ni804sqz0jghm7883yy";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|