nixpkgs/pkgs/development/python-modules/numpy-stl/default.nix
2020-12-01 14:44:15 +01:00

24 lines
666 B
Nix

{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
buildPythonPackage rec {
pname = "numpy-stl";
version = "2.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "648386e6cdad3218adc4e3e6a349bee41c55a61980dace616c05d6a31e8c652d";
};
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;
};
}