depot/third_party/nixpkgs/pkgs/development/python-modules/patch-ng/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

23 lines
542 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
version = "1.18.0"; # note: `conan` package may require a hardcoded one
format = "setuptools";
pname = "patch-ng";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-2gZ2KNbV/Z3FpV6rN5UdRr2VZhtyGfqzZLcRNmq8xpA=";
};
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 ];
};
}