diff --git a/pkgs/development/python-modules/inflate64/default.nix b/pkgs/development/python-modules/inflate64/default.nix new file mode 100644 index 000000000000..35da809726c4 --- /dev/null +++ b/pkgs/development/python-modules/inflate64/default.nix @@ -0,0 +1,47 @@ +{ + lib, + buildPythonPackage, + fetchFromGitea, + setuptools, + setuptools-scm, + pytestCheckHook, +}: + +buildPythonPackage rec { + pname = "inflate64"; + version = "1.0.1"; + pyproject = true; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "miurahr"; + repo = "inflate64"; + tag = "v${version}"; + hash = "sha256-deFx8NMbGLP51CdNvmZ25LQ5FLPBb1PB3QhGhIfTMfc="; + }; + + build-system = [ + setuptools + setuptools-scm + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "inflate64" + ]; + + meta = { + description = "Compress and decompress with Enhanced Deflate compression algorithm"; + homepage = "https://codeberg.org/miurahr/inflate64"; + changelog = "https://codeberg.org/miurahr/inflate64/src/tag/v${version}/docs/Changelog.rst#v${version}"; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ + pitkling + PopeRigby + ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 77c18d889f77..7bbc7f4fd378 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6380,6 +6380,8 @@ self: super: with self; { infinity = callPackage ../development/python-modules/infinity { }; + inflate64 = callPackage ../development/python-modules/inflate64 { }; + inflect = callPackage ../development/python-modules/inflect { }; inflection = callPackage ../development/python-modules/inflection { };