about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-08-25 23:07:42 -0400
committerfigsoda <figsoda@pm.me>2023-08-25 23:07:59 -0400
commitc67a5478b6fd1db096706782bd27d945b2ff19ef (patch)
tree5bf63f91d6747def9c1956194be28e764e4b887b /pkgs/tools
parent3aadd2daf2d4431b8460c8cc03ec4ec9dc5e1375 (diff)
slingshot: init at 0.2.3
https://github.com/caio-ishikawa/slingshot
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/slingshot/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/slingshot/default.nix b/pkgs/tools/misc/slingshot/default.nix
new file mode 100644
index 0000000000000..48ea7f24c040d
--- /dev/null
+++ b/pkgs/tools/misc/slingshot/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, rustPlatform
+, fetchFromGitHub
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "slingshot";
+  version = "0.2.3";
+
+  src = fetchFromGitHub {
+    owner = "caio-ishikawa";
+    repo = "slingshot";
+    rev = "v${version}";
+    hash = "sha256-PbcpvSBYoRs8TMkbbQjG284BWr+PSaTStPOg4a1GIrw=";
+  };
+
+  cargoHash = "sha256-Y0H88paBe2yyUyTdwxXO58YFDdH04kK+nHvi1qyYVF0=";
+
+  meta = with lib; {
+    description = "Lightweight command line tool to quickly navigate across folders";
+    homepage = "https://github.com/caio-ishikawa/slingshot";
+    changelog = "https://github.com/caio-ishikawa/slingshot/releases/tag/${src.rev}";
+    license = licenses.mit;
+    maintainers = with maintainers; [ figsoda ];
+    mainProgram = "slingshot";
+  };
+}