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