mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 06:24:08 +01:00
34 lines
750 B
Nix
34 lines
750 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
more-itertools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "patchpy";
|
|
version = "2.0.4";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) 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";
|
|
};
|
|
})
|