about summary refs log tree commit diff
path: root/pkgs/development/python-modules/patch/default.nix
blob: 1dea1cf9f17847d91ebd5af806f48fa2d0ca6604 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  lib,
  buildPythonPackage,
  fetchzip,
}:

buildPythonPackage rec {
  version = "1.16";
  format = "setuptools";
  pname = "patch";

  src = fetchzip {
    url = "mirror://pypi/p/${pname}/${pname}-${version}.zip";
    sha256 = "1nj55hvyvzax4lxq7vkyfbw91pianzr3hp7ka7j12pgjxccac50g";
    stripRoot = false;
  };

  # No tests included in archive
  doCheck = false;

  meta = with lib; {
    description = "Library to parse and apply unified diffs";
    homepage = "https://github.com/techtonik/python-patch/";
    license = licenses.mit;
    maintainers = [ maintainers.igsha ];
  };
}