mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
24 lines
666 B
Nix
24 lines
666 B
Nix
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "numpy-stl";
|
|
version = "2.10.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f6b529b8a8112dfe456d4f7697c7aee0aca62be5a873879306afe4b26fca963c";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|