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