1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitea, 5 setuptools, 6 setuptools-scm, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "inflate64"; 12 version = "1.0.1"; 13 pyproject = true; 14 15 src = fetchFromGitea { 16 domain = "codeberg.org"; 17 owner = "miurahr"; 18 repo = "inflate64"; 19 tag = "v${version}"; 20 hash = "sha256-deFx8NMbGLP51CdNvmZ25LQ5FLPBb1PB3QhGhIfTMfc="; 21 }; 22 23 build-system = [ 24 setuptools 25 setuptools-scm 26 ]; 27 28 nativeCheckInputs = [ 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ 33 "inflate64" 34 ]; 35 36 meta = { 37 description = "Compress and decompress with Enhanced Deflate compression algorithm"; 38 homepage = "https://codeberg.org/miurahr/inflate64"; 39 changelog = "https://codeberg.org/miurahr/inflate64/src/tag/v${version}/docs/Changelog.rst#v${version}"; 40 license = lib.licenses.gpl2Plus; 41 maintainers = with lib.maintainers; [ 42 pitkling 43 PopeRigby 44 ]; 45 }; 46 47}