nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 49 lines 987 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromCodeberg, 5 nix-update-script, 6 setuptools, 7 setuptools-scm, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "inflate64"; 13 version = "1.0.2"; 14 pyproject = true; 15 16 src = fetchFromCodeberg { 17 owner = "miurahr"; 18 repo = "inflate64"; 19 tag = "v${version}"; 20 hash = "sha256-qYTkL37IzvrhYYwj6i6X8WRSQxprNKgBnQEYRnztzjA="; 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 passthru.updateScript = nix-update-script { }; 37 38 meta = { 39 description = "Compress and decompress with Enhanced Deflate compression algorithm"; 40 homepage = "https://codeberg.org/miurahr/inflate64"; 41 changelog = "https://codeberg.org/miurahr/inflate64/src/tag/v${version}/docs/Changelog.rst#v${version}"; 42 license = lib.licenses.gpl2Plus; 43 maintainers = with lib.maintainers; [ 44 pitkling 45 PopeRigby 46 ]; 47 }; 48 49}