depot/third_party/nixpkgs/pkgs/applications/version-management/git-and-tools/git-imerge/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

24 lines
634 B
Nix

{ lib, buildPythonApplication, fetchPypi, installShellFiles }:
buildPythonApplication rec {
pname = "git-imerge";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "df5818f40164b916eb089a004a47e5b8febae2b4471a827e3aaa4ebec3831a3f";
};
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion --bash completions/git-imerge
'';
meta = with lib; {
homepage = "https://github.com/mhagger/git-imerge";
description = "Perform a merge between two branches incrementally";
license = licenses.gpl2Plus;
maintainers = [ maintainers.spwhitt ];
};
}