nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 31 lines 680 B view raw
1{ 2 lib, 3 buildPythonApplication, 4 fetchPypi, 5 installShellFiles, 6}: 7 8buildPythonApplication rec { 9 pname = "git-imerge"; 10 version = "1.2.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "df5818f40164b916eb089a004a47e5b8febae2b4471a827e3aaa4ebec3831a3f"; 16 }; 17 18 nativeBuildInputs = [ installShellFiles ]; 19 20 postInstall = '' 21 installShellCompletion --bash completions/git-imerge 22 ''; 23 24 meta = with lib; { 25 homepage = "https://github.com/mhagger/git-imerge"; 26 description = "Perform a merge between two branches incrementally"; 27 license = licenses.gpl2Plus; 28 maintainers = [ ]; 29 mainProgram = "git-imerge"; 30 }; 31}