nixpkgs/pkgs/applications/version-management/git-and-tools/git-imerge/default.nix

25 lines
634 B
Nix
Raw Normal View History

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