1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/python-modules/numpy-stl/default.nix

24 lines
665 B
Nix
Raw Normal View History

2017-10-21 02:12:30 +01:00
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
buildPythonPackage rec {
pname = "numpy-stl";
2018-07-22 11:14:42 +01:00
version = "2.7.0";
2017-10-21 02:12:30 +01:00
src = fetchPypi {
inherit pname version;
2018-07-22 11:14:42 +01:00
sha256 = "ede911118cfee5a8fd4c341b418fc55bfcd70a557686febc4efb6693297e3aa2";
2017-10-21 02:12:30 +01:00
};
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;
};
}