depot/third_party/nixpkgs/pkgs/development/python-modules/patch-ng/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 lines
543 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
version = "1.17.4"; # note: `conan` package may require a hardcoded one
format = "setuptools";
pname = "patch-ng";
src = fetchPypi {
inherit pname version;
sha256 = "1kja1nn08w0k8k6j4kad48k581hh9drvjjb8x60v9j13sxdvqyk2";
};
meta = with lib; {
description = "Library to parse and apply unified diffs";
homepage = "https://github.com/conan-io/python-patch";
license = licenses.mit;
maintainers = with maintainers; [ HaoZeke ];
};
}