From 033bec6c96bb9709d5d34ff0a729c953d4efb388 Mon Sep 17 00:00:00 2001 From: Anomalocaridid <29845794+Anomalocaridid@users.noreply.github.com> Date: Tue, 24 Dec 2024 18:34:25 -0500 Subject: [PATCH] fishPlugins.exercism-cli-fish-wrapper: init at 0-unstable-2024-11-29 --- pkgs/shells/fish/plugins/default.nix | 2 ++ .../plugins/exercism-cli-fish-wrapper.nix | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/shells/fish/plugins/exercism-cli-fish-wrapper.nix diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index e6256b4e3f2c..57984ad85a21 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -21,6 +21,8 @@ lib.makeScope newScope (self: with self; { done = callPackage ./done.nix { }; + exercism-cli-fish-wrapper = callPackage ./exercism-cli-fish-wrapper.nix { }; + fifc = callPackage ./fifc.nix { }; fish-bd = callPackage ./fish-bd.nix { }; diff --git a/pkgs/shells/fish/plugins/exercism-cli-fish-wrapper.nix b/pkgs/shells/fish/plugins/exercism-cli-fish-wrapper.nix new file mode 100644 index 000000000000..d2681ea48c33 --- /dev/null +++ b/pkgs/shells/fish/plugins/exercism-cli-fish-wrapper.nix @@ -0,0 +1,26 @@ +{ + lib, + buildFishPlugin, + fetchFromGitHub, + unstableGitUpdater, +}: +buildFishPlugin { + pname = "exercism-cli-fish-wrapper"; + version = "0-unstable-2024-11-29"; + + src = fetchFromGitHub { + owner = "glennj"; + repo = "exercism-cli-fish-wrapper"; + rev = "f25f76dcc9bf164c30a9292a16a2159c9350a146"; + hash = "sha256-R9Vf8tlLytqvMlJdWGyTy1g0TUhOcp7tifz0Bxb4Gts="; + }; + + passthru.updateScript = unstableGitUpdater { }; + + meta = { + description = "Fish wrapper for the Exercism CLI"; + homepage = "https://github.com/glennj/exercism-cli-fish-wrapper"; + license = lib.licenses.unfree; # No upstream license + maintainers = with lib.maintainers; [ anomalocaris ]; + }; +}