about summary refs log tree commit diff
path: root/pkgs/applications/misc/confetty
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-07-17 11:37:01 -0400
committerfigsoda <figsoda@pm.me>2023-07-17 11:37:01 -0400
commit8a0d4e5106ea4bf0d9dae020fe049251e3ff3a29 (patch)
treed7e89ace0b881ad7ebf2b30c3cedfda0b5bd188b /pkgs/applications/misc/confetty
parente16572aedcec1cee00ecf5b2089acc3b278cd4a5 (diff)
confetty: init at unstable-2022-11-05
https://github.com/maaslalani/confetty
Diffstat (limited to 'pkgs/applications/misc/confetty')
-rw-r--r--pkgs/applications/misc/confetty/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/misc/confetty/default.nix b/pkgs/applications/misc/confetty/default.nix
new file mode 100644
index 0000000000000..77269ef853541
--- /dev/null
+++ b/pkgs/applications/misc/confetty/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule {
+  pname = "confetty";
+  version = "unstable-2022-11-05";
+
+  src = fetchFromGitHub {
+    owner = "maaslalani";
+    repo = "confetty";
+    rev = "6c6f1b5b605f78c3ed3bab2d2a1357c0dd794221";
+    hash = "sha256-1BAszv9I2JDflWyHuAlbJo7+oI7BI/TL10uFIYa8mLk=";
+  };
+
+  vendorHash = "sha256-RymdnueY674Zd231O8CIw/TEIDaWDzc+AaI6yk9hFgc=";
+
+  ldflags = [ "-s" "-w" ];
+
+  meta = with lib; {
+    description = "Confetti in your TTY";
+    homepage = "https://github.com/maaslalani/confetty";
+    license = licenses.mit;
+    maintainers = with maintainers; [ figsoda ];
+  };
+}