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