summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorGiorgio Gallo <giorgio.gallo@bitnic.it>2023-04-20 11:17:15 +0200
committerGiorgio Gallo <giorgio.gallo@bitnic.it>2023-05-05 12:19:05 +0200
commitc49009648108ceeed8c69ec67c889205863464e2 (patch)
treebfc8d9af7cfd2e364a56fc98e1340296c8641393 /pkgs/shells
parentf80cd0a794a85cd796f99fb1400161741e6b5ca8 (diff)
fishPlugins.sdkman-for-fish: init at 1.4.0
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/fish/plugins/default.nix2
-rw-r--r--pkgs/shells/fish/plugins/sdkman-for-fish.nix20
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix
index 3c3a99b35e560..739e819952333 100644
--- a/pkgs/shells/fish/plugins/default.nix
+++ b/pkgs/shells/fish/plugins/default.nix
@@ -48,6 +48,8 @@ lib.makeScope newScope (self: with self; {
 
   pure = callPackage ./pure.nix { };
 
+  sdkman-for-fish = callPackage ./sdkman-for-fish.nix { };
+
   sponge = callPackage ./sponge.nix { };
 
   tide = callPackage ./tide.nix { };
diff --git a/pkgs/shells/fish/plugins/sdkman-for-fish.nix b/pkgs/shells/fish/plugins/sdkman-for-fish.nix
new file mode 100644
index 0000000000000..32e5317ed1cf8
--- /dev/null
+++ b/pkgs/shells/fish/plugins/sdkman-for-fish.nix
@@ -0,0 +1,20 @@
+{ lib, buildFishPlugin, fetchFromGitHub }:
+
+buildFishPlugin rec {
+  pname = "sdkman-for-fish";
+  version = "1.4.0";
+
+  src = fetchFromGitHub {
+    owner = "reitzig";
+    repo = "sdkman-for-fish";
+    rev = "v${version}";
+    hash = "sha256-bfWQ2al0Xy8bnJt5euziHz/+qhyri4qWy47VDoPwQcg=";
+  };
+
+  meta = with lib; {
+    description = "Adds support for SDKMAN! to fish";
+    homepage = "https://github.com/reitzig/sdkman-for-fish";
+    license = licenses.mit;
+    maintainers = with maintainers; [ giorgiga ];
+  };
+}