about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authornicoo2024-05-02 13:29:16 +0000
committerGitHub2024-05-02 13:29:16 +0000
commitb100b00625fc28f85b3cdde1132b6e5aa6f10714 (patch)
treecbbd7adafa59c4ae653b17a7a3b324967bcef1a9 /pkgs/by-name
parent308073e5a277331e045626ffa9f9f599303e363f (diff)
parent2f4fd9f5203266fa5bb34ae89615a5ee1bb0e250 (diff)
Merge #306057: init broom at 0.3.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/br/broom/package.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/by-name/br/broom/package.nix b/pkgs/by-name/br/broom/package.nix
new file mode 100644
index 000000000000..69aa9ae68422
--- /dev/null
+++ b/pkgs/by-name/br/broom/package.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+  pname = "broom";
+  version = "0.3.0";
+
+  src = fetchFromGitHub {
+    owner = "a-camarillo";
+    repo = "broom";
+    rev = "v${version}";
+    hash = "sha256-a2hUgYpiKm/dZWLRuCZKuGStmZ/7jDtLRAjd/B57Vxw=";
+  };
+
+  vendorHash = "sha256-zNklqGjMt89b+JOZfKjTO6c75SXO10e7YtQOqqQZpnA=";
+
+  ldflags = [ "-s" "-w" ];
+
+  meta = with lib; {
+    description = "An interactive CLI tool for managing local git branches";
+    homepage = "https://github.com/a-camarillo/broom";
+    license = licenses.mit;
+    maintainers = with maintainers; [ a-camarillo ];
+    mainProgram = "broom";
+  };
+}