From 72c7711a6496bf170073822dff326be8837b8567 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Wed, 27 Jul 2022 16:46:03 +0200 Subject: [PATCH] python310Packages.doit-py: init at 0.5.0 --- .../python-modules/doit-py/default.nix | 48 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 50 insertions(+) create mode 100644 pkgs/development/python-modules/doit-py/default.nix diff --git a/pkgs/development/python-modules/doit-py/default.nix b/pkgs/development/python-modules/doit-py/default.nix new file mode 100644 index 000000000000..33d128c3d765 --- /dev/null +++ b/pkgs/development/python-modules/doit-py/default.nix @@ -0,0 +1,48 @@ +{ lib +, fetchFromGitHub +, buildPythonPackage +, doit +, configclass +, mergedict +, pytestCheckHook +, hunspell +, hunspellDicts +}: + +buildPythonPackage rec { + pname = "doit-py"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "pydoit"; + repo = pname; + rev = version; + sha256 = "sha256-DBl6/no04ZGRHHmN9gkEtBmAMgmyZWcfPCcFz0uxAv4="; + }; + + propagatedBuildInputs = [ + configclass + doit + mergedict + ]; + + checkInputs = [ + hunspell + hunspellDicts.en_US + pytestCheckHook + ]; + + disabledTestPaths = [ + # Disable linting checks + "tests/test_pyflakes.py" + ]; + + pythonImportsCheck = [ "doitpy" ]; + + meta = with lib; { + description = "doit tasks for python stuff"; + homepage = "http://pythonhosted.org/doit-py"; + license = licenses.mit; + maintainers = with maintainers; [ onny ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 11c16673a66d..641cde900b0e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2647,6 +2647,8 @@ in { doit = callPackage ../development/python-modules/doit { }; + doit-py = callPackage ../development/python-modules/doit-py { }; + dominate = callPackage ../development/python-modules/dominate { }; doorbirdpy = callPackage ../development/python-modules/doorbirdpy { };