nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 53 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromCodeberg, 5 setuptools, 6 setuptools-scm, 7 hypothesis, 8 pytest-benchmark, 9 pytest-timeout, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "pyppmd"; 15 version = "1.1.1"; 16 pyproject = true; 17 18 src = fetchFromCodeberg { 19 owner = "miurahr"; 20 repo = "pyppmd"; 21 tag = "v${version}"; 22 hash = "sha256-0t1vyVMtmhb38C2teJ/Lq7dx4usm4Bzx+k7Zalf/nXE="; 23 }; 24 25 build-system = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 nativeCheckInputs = [ 31 hypothesis 32 pytest-benchmark 33 pytest-timeout 34 pytestCheckHook 35 ]; 36 37 pytestFlags = [ "--benchmark-disable" ]; 38 39 pythonImportsCheck = [ 40 "pyppmd" 41 ]; 42 43 meta = { 44 description = "PPMd compression/decompression library"; 45 homepage = "https://codeberg.org/miurahr/pyppmd"; 46 changelog = "https://codeberg.org/miurahr/pyppmd/src/tag/v${version}/Changelog.rst#v${version}"; 47 license = lib.licenses.gpl2Plus; 48 maintainers = with lib.maintainers; [ 49 pitkling 50 PopeRigby 51 ]; 52 }; 53}