2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-26 01:54:15 +01:00
|
|
|
, buildPythonPackage
|
2018-10-26 01:58:15 +01:00
|
|
|
, fetchzip
|
2018-10-26 01:54:15 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "1.16";
|
|
|
|
pname = "patch";
|
|
|
|
|
2018-10-26 01:58:15 +01:00
|
|
|
src = fetchzip {
|
|
|
|
url = "mirror://pypi/p/${pname}/${pname}-${version}.zip";
|
2018-10-26 01:54:15 +01:00
|
|
|
sha256 = "1nj55hvyvzax4lxq7vkyfbw91pianzr3hp7ka7j12pgjxccac50g";
|
2018-10-26 01:58:15 +01:00
|
|
|
stripRoot = false;
|
2018-10-26 01:54:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-26 01:54:15 +01:00
|
|
|
description = "A library to parse and apply unified diffs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/techtonik/python-patch/";
|
2018-10-26 01:54:15 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.igsha ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|