2018-10-26 01:54:15 +01:00
|
|
|
{ stdenv
|
|
|
|
, 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;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|