depot/third_party/nixpkgs/pkgs/development/python-modules/patch-ng/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

22 lines
515 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
version = "1.17.4"; # note: `conan` package may require a hardcoded one
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 ];
};
}