diff options
Diffstat (limited to '')
-rw-r--r-- | tools/git-broom/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/git-broom/default.nix b/tools/git-broom/default.nix new file mode 100644 index 0000000..e25c6ec --- /dev/null +++ b/tools/git-broom/default.nix @@ -0,0 +1,25 @@ +{ self, lib, python3, stdenvNoCC, pkgs }: + +stdenvNoCC.mkDerivation rec { + pname = "git-broom"; + src = ./git-broom.py; + version = "0.1.0"; + + nativeBuildInputs = with pkgs; [ python3 ]; + + dontUnpack = true; + dontBuild = true; + + installPhase = '' + mkdir -p $out/bin + cp $src $out/bin/${pname} + ''; + + + meta = with pkgs.lib; { + description = "CLI to delete local and remote git branches that have been merged."; + license = licenses.mit; + platforms = platforms.unix; + maintainers = [ ]; + }; +} |