forked from mirrors/nixpkgs
Merge pull request #227125 from giorgiga/fish-sdkman
fishPlugins: add sdkman-for-fish
This commit is contained in:
commit
ad17db8f2b
|
@ -5695,6 +5695,12 @@
|
|||
githubId = 1713676;
|
||||
name = "Luis G. Torres";
|
||||
};
|
||||
giorgiga = {
|
||||
email = "giorgio.gallo@bitnic.it";
|
||||
github = "giorgiga";
|
||||
githubId = 471835;
|
||||
name = "Giorgio Gallo";
|
||||
};
|
||||
GKasparov = {
|
||||
email = "mizozahr@gmail.com";
|
||||
github = "GKasparov";
|
||||
|
|
|
@ -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 { };
|
||||
|
|
20
pkgs/shells/fish/plugins/sdkman-for-fish.nix
Normal file
20
pkgs/shells/fish/plugins/sdkman-for-fish.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue