1{ lib, buildPythonApplication, fetchPypi, installShellFiles }:
2
3buildPythonApplication rec {
4 pname = "git-imerge";
5 version = "1.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "df5818f40164b916eb089a004a47e5b8febae2b4471a827e3aaa4ebec3831a3f";
10 };
11
12 nativeBuildInputs = [ installShellFiles ];
13
14 postInstall = ''
15 installShellCompletion --bash completions/git-imerge
16 '';
17
18 meta = with lib; {
19 homepage = "https://github.com/mhagger/git-imerge";
20 description = "Perform a merge between two branches incrementally";
21 license = licenses.gpl2Plus;
22 maintainers = [ ];
23 };
24}