1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 version = "1.18.1"; # note: `conan` package may require a hardcoded one
9 format = "setuptools";
10 pname = "patch-ng";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-Uv1G7kb2yGZ2kmgsH9cTTtxlotLQhOvsHSlaYIf8ApE=";
15 };
16
17 meta = with lib; {
18 description = "Library to parse and apply unified diffs";
19 homepage = "https://github.com/conan-io/python-patch";
20 license = licenses.mit;
21 maintainers = with maintainers; [ HaoZeke ];
22 };
23}