summary refs log blame commit diff
path: root/pkgs/applications/version-management/git-and-tools/git-delete-merged-branches/default.nix
blob: c128536d34340e1706320e6c85aa7f2121c5e286 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                               
                    




                         
                                                                   



                                                 
                  







                                                                      
                                


                                                        
{ lib, python3Packages, fetchFromGitHub, git }:

python3Packages.buildPythonApplication rec {
  pname = "git-delete-merged-branches";
  version = "6.4.0";

  src = fetchFromGitHub {
    owner = "hartwork";
    repo = pname;
    rev = version;
    sha256 = "sha256-swAc8ObZY78nVQyjTrVG81xBqTYnWHVDFpiUApbowqU=";
  };

  propagatedBuildInputs = with python3Packages; [
    colorama
    prompt-toolkit
  ];

  checkInputs = [ git ]
    ++ (with python3Packages; [ parameterized ]);

  meta = with lib; {
    description = "Command-line tool to delete merged Git branches";
    homepage = "https://pypi.org/project/git-delete-merged-branches/";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}