2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-03-22 15:33:40 +00:00
|
|
|
, buildPythonPackage
|
2020-04-07 06:46:32 +00:00
|
|
|
, fetchPypi
|
2020-03-22 15:33:40 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-04-07 06:46:32 +00:00
|
|
|
version = "1.17.4"; # note: `conan` package may require a hardcoded one
|
2020-03-22 15:33:40 +00:00
|
|
|
pname = "patch-ng";
|
|
|
|
|
2020-04-07 06:46:32 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1kja1nn08w0k8k6j4kad48k581hh9drvjjb8x60v9j13sxdvqyk2";
|
2020-03-22 15:33:40 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-22 15:33:40 +00:00
|
|
|
description = "Library to parse and apply unified diffs.";
|
|
|
|
homepage = "https://github.com/conan-io/python-patch";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ HaoZeke ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|