mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
26 lines
570 B
Nix
26 lines
570 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchzip
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.16";
|
|
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 stdenv.lib; {
|
|
description = "A library to parse and apply unified diffs";
|
|
homepage = https://github.com/techtonik/python-patch/;
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.igsha ];
|
|
};
|
|
|
|
}
|