about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/bunnyfetch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/bunnyfetch')
-rw-r--r--nixpkgs/pkgs/tools/misc/bunnyfetch/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/bunnyfetch/default.nix b/nixpkgs/pkgs/tools/misc/bunnyfetch/default.nix
new file mode 100644
index 000000000000..e14fe8244313
--- /dev/null
+++ b/nixpkgs/pkgs/tools/misc/bunnyfetch/default.nix
@@ -0,0 +1,27 @@
+{ buildGoModule, fetchFromGitHub, lib }:
+
+buildGoModule rec {
+  pname = "bunnyfetch";
+  version = "0.2.0";
+
+  src = fetchFromGitHub {
+    owner = "Rosettea";
+    repo = "bunnyfetch";
+    rev = "v${version}";
+    sha256 = "sha256-6MnjCXc9/8twdf8PHKsVJY1yWYwUf5R01vtQFJbyy7M=";
+  };
+
+  vendorHash = "sha256-w+O1dU8t7uNvdlFnYhCdJCDixpWWZAnj9GrtsCbu9SM=";
+
+  # No upstream tests
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Tiny system info fetch utility";
+    homepage = "https://github.com/Rosettea/bunnyfetch";
+    license = licenses.mit;
+    maintainers = with maintainers; [ devins2518 ];
+    platforms = platforms.linux;
+    mainProgram = "bunnyfetch";
+  };
+}