depot/third_party/nixpkgs/pkgs/development/python-modules/patch-ng/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
525 B
Nix

{ stdenv
, 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 stdenv.lib; {
description = "Library to parse and apply unified diffs.";
homepage = "https://github.com/conan-io/python-patch";
license = licenses.mit;
maintainers = with maintainers; [ HaoZeke ];
};
}