python3Packages.preprocess-cancellation: init at 0.2.0

This commit is contained in:
Zhaofeng Li 2022-03-22 15:35:38 -07:00
parent 315a3c69cd
commit c07742260e
2 changed files with 33 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -6458,6 +6458,8 @@ in {
premailer = callPackage ../development/python-modules/premailer { };
preprocess-cancellation = callPackage ../development/python-modules/preprocess-cancellation { };
preshed = callPackage ../development/python-modules/preshed { };
pretend = callPackage ../development/python-modules/pretend { };