From 7fd2a6fdf3becfa96bd0225221b68346c6b2eed4 Mon Sep 17 00:00:00 2001 From: emaryn Date: Sun, 8 Jun 2025 08:54:54 +0800 Subject: [PATCH] python312Packages.housekeeping: init at 1.1 --- .../python-modules/housekeeping/default.nix | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/development/python-modules/housekeeping/default.nix diff --git a/pkgs/development/python-modules/housekeeping/default.nix b/pkgs/development/python-modules/housekeeping/default.nix new file mode 100644 index 000000000000..5ecf01685479 --- /dev/null +++ b/pkgs/development/python-modules/housekeeping/default.nix @@ -0,0 +1,36 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + typing-extensions, + pytestCheckHook, +}: + +buildPythonPackage rec { + pname = "housekeeping"; + version = "1.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "beanbaginc"; + repo = "housekeeping"; + tag = "release-${version}"; + hash = "sha256-hRWZSRoXscjkUm0NUpkM6pKEdoirN6ZmpjWlNgoyCVY="; + }; + + build-system = [ setuptools ]; + + dependencies = [ typing-extensions ]; + + pythonImportsCheck = [ "housekeeping" ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + meta = { + description = "Reusable deprecation helpers for Python projects"; + homepage = "https://github.com/beanbaginc/housekeeping"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ emaryn ]; + }; +}