mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
42 lines
732 B
Nix
42 lines
732 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cython
|
|
, enum34
|
|
, fetchPypi
|
|
, nine
|
|
, numpy
|
|
, pytestCheckHook
|
|
, python-utils
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "numpy-stl";
|
|
version = "3.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3U2ho3nSYy8WhRi+jc2c3dftxsMjgJT9jSFHazWGoLw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cython
|
|
enum34
|
|
nine
|
|
numpy
|
|
python-utils
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "stl" ];
|
|
|
|
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;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|