nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3Packages,
4 fetchFromGitHub,
5 git,
6}:
7
8python3Packages.buildPythonApplication rec {
9 pname = "git-delete-merged-branches";
10 version = "7.5.0";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "hartwork";
15 repo = "git-delete-merged-branches";
16 tag = version;
17 sha256 = "sha256-2MSdUpToOiurtiL0Ws2dLEWqd6wj4nQ2RsEepBytgAk=";
18 };
19
20 build-system = with python3Packages; [ setuptools ];
21
22 dependencies = with python3Packages; [
23 colorama
24 prompt-toolkit
25 ];
26
27 nativeCheckInputs = [ git ] ++ (with python3Packages; [ parameterized ]);
28
29 meta = with lib; {
30 description = "Command-line tool to delete merged Git branches";
31 homepage = "https://github.com/hartwork/git-delete-merged-branches/";
32 license = licenses.gpl3Plus;
33 maintainers = with maintainers; [ SuperSandro2000 ];
34 };
35}