Files
nixpkgs/pkgs/development/python-modules/pyppmd/default.nix
Peter Kling 612dfe65a7 pyppmd: init at 1.1.1
Co-authored-by: ByteSudoer <ByteSudoer@users.noreply.github.com>
Co-authored-by: PopeRigby <poperigby@mailbox.org>
2025-02-24 10:15:28 +01:00

53 lines
996 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitea,
setuptools,
setuptools-scm,
hypothesis,
pytest-benchmark,
pytest-timeout,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyppmd";
version = "1.1.1";
pyproject = true;
src = fetchFromGitea {
domain = "codeberg.org";
owner = "miurahr";
repo = "pyppmd";
tag = "v${version}";
hash = "sha256-0t1vyVMtmhb38C2teJ/Lq7dx4usm4Bzx+k7Zalf/nXE=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
hypothesis
pytest-benchmark
pytest-timeout
pytestCheckHook
];
pythonImportsCheck = [
"pyppmd"
];
meta = {
description = "PPMd compression/decompression library";
homepage = "https://codeberg.org/miurahr/pyppmd";
changelog = "https://codeberg.org/miurahr/pyppmd/src/tag/v${version}/Changelog.rst#v${version}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [
pitkling
PopeRigby
];
};
}