2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchzip,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "1.16";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "patch";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "mirror://pypi/p/${pname}/${pname}-${version}.zip";
|
|
|
|
sha256 = "1nj55hvyvzax4lxq7vkyfbw91pianzr3hp7ka7j12pgjxccac50g";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A library to parse and apply unified diffs";
|
|
|
|
homepage = "https://github.com/techtonik/python-patch/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.igsha ];
|
|
|
|
};
|
|
|
|
}
|