1{ lib
2, buildPythonPackage
3, fetchzip
4}:
5
6buildPythonPackage rec {
7 version = "1.16";
8 pname = "patch";
9
10 src = fetchzip {
11 url = "mirror://pypi/p/${pname}/${pname}-${version}.zip";
12 sha256 = "1nj55hvyvzax4lxq7vkyfbw91pianzr3hp7ka7j12pgjxccac50g";
13 stripRoot = false;
14 };
15
16 # No tests included in archive
17 doCheck = false;
18
19 meta = with lib; {
20 description = "A library to parse and apply unified diffs";
21 homepage = "https://github.com/techtonik/python-patch/";
22 license = licenses.mit;
23 maintainers = [ maintainers.igsha ];
24 };
25
26}