567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
25 lines
519 B
Nix
25 lines
519 B
Nix
{
|
|
lib,
|
|
buildFishPlugin,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildFishPlugin rec {
|
|
pname = "sdkman-for-fish";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "reitzig";
|
|
repo = "sdkman-for-fish";
|
|
rev = "v${version}";
|
|
hash = "sha256-7cgyR3hQ30Jv+9lJS5qaBvSaI/0YVT8xPXlUhDBTdFc=";
|
|
};
|
|
|
|
meta = {
|
|
description = "Adds support for SDKMAN! to fish";
|
|
homepage = "https://github.com/reitzig/sdkman-for-fish";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ giorgiga ];
|
|
};
|
|
}
|