504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
27 lines
587 B
Nix
27 lines
587 B
Nix
{ 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 = "A library to parse and apply unified diffs";
|
|
homepage = "https://github.com/techtonik/python-patch/";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.igsha ];
|
|
};
|
|
|
|
}
|