at master 727 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 more-itertools, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "patchpy"; 12 version = "2.0.4"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-q+k9vYz5crCsBjI5QH7Xz3QVpntzrIXeO456dyrzf4I="; 18 }; 19 20 build-system = [ hatchling ]; 21 22 dependencies = [ more-itertools ]; 23 24 pythonImportsCheck = [ "patchpy" ]; 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = { 28 description = "Modern Python library for patch file parsing"; 29 homepage = "https://github.com/MatthewScholefield/patchpy"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ sigmanificient ]; 32 mainProgram = "patchpy"; 33 }; 34}