2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-03-22 15:33:40 +00:00
|
|
|
, buildPythonPackage
|
2020-04-07 07:46:32 +01:00
|
|
|
, fetchPypi
|
2020-03-22 15:33:40 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-04-07 07:46:32 +01: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 07:46:32 +01: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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|