2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "1.17.4"; # note: `conan` package may require a hardcoded one
|
|
|
|
pname = "patch-ng";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1kja1nn08w0k8k6j4kad48k581hh9drvjjb8x60v9j13sxdvqyk2";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|