Files

35 lines
727 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
more-itertools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "patchpy";
version = "2.0.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-q+k9vYz5crCsBjI5QH7Xz3QVpntzrIXeO456dyrzf4I=";
};
build-system = [ hatchling ];
dependencies = [ more-itertools ];
pythonImportsCheck = [ "patchpy" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Modern Python library for patch file parsing";
homepage = "https://github.com/MatthewScholefield/patchpy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "patchpy";
};
}