diff options
author | Vladimír Čunát <v@cunat.cz> | 2022-03-25 10:16:56 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2022-03-25 10:16:56 +0100 |
commit | 0a8b4eddd25fd7231979eef300df0077f944ef68 (patch) | |
tree | b4cb39a8d4293982878e6616e56982ae1dc47621 /pkgs/development/python-modules/preprocess-cancellation/default.nix | |
parent | 173de4efbf4a475175beb0ae9b93a760efcf264a (diff) | |
parent | c65d0615019209f72feb2d81b77a0d0c5a3f0f1a (diff) |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/python-modules/preprocess-cancellation/default.nix')
-rw-r--r-- | pkgs/development/python-modules/preprocess-cancellation/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/preprocess-cancellation/default.nix b/pkgs/development/python-modules/preprocess-cancellation/default.nix new file mode 100644 index 0000000000000..d671cb4d66eb7 --- /dev/null +++ b/pkgs/development/python-modules/preprocess-cancellation/default.nix @@ -0,0 +1,31 @@ +{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, poetry-core +, pytestCheckHook, pytest-cov +, shapely }: + +buildPythonPackage rec { + pname = "preprocess-cancellation"; + version = "0.2.0"; + disabled = pythonOlder "3.6"; # >= 3.6 + format = "pyproject"; + + # No tests in PyPI + src = fetchFromGitHub { + owner = "kageurufu"; + repo = "cancelobject-preprocessor"; + rev = version; + hash = "sha256-mn3/etXA5dkL+IsyxwD4/XjU/t4/roYFVyqQxlLOoOI="; + }; + + nativeBuildInputs = [ poetry-core ]; + + propagatedBuildInputs = [ shapely ]; + + checkInputs = [ pytestCheckHook pytest-cov ]; + + meta = with lib; { + description = "Klipper GCode Preprocessor for Object Cancellation"; + homepage = "https://github.com/kageurufu/cancelobject-preprocessor"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ zhaofengli ]; + }; +} |