nixpkgs-suyu/pkgs/development/python-modules/patch/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

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 ];
};
}