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";
|
|
|
|
homepage = https://github.com/techtonik/python-patch/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.igsha ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|