Skip to content

Commit

Permalink
fishPlugins.shell-integrations: init at 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dudeofawesome committed Dec 5, 2024
1 parent 4b3d61b commit aa5840f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/shells/fish/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ lib.makeScope newScope (self: with self; {

sdkman-for-fish = callPackage ./sdkman-for-fish.nix { };

shell-integrations = callPackage ./shell-integrations.nix { };

spark = callPackage ./spark.nix { };

sponge = callPackage ./sponge.nix { };
Expand Down
29 changes: 29 additions & 0 deletions pkgs/shells/fish/plugins/shell-integrations.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
lib,
buildFishPlugin,
fetchFromGitHub,
unstableGitUpdater,
}:

buildFishPlugin rec {
pname = "shell-integrations";
version = "1.0.2";

src = fetchFromGitHub {
owner = "dudeofawesome";
repo = "fish-plugin-${pname}";
rev = "refs/tags/v${version}";
hash = "sha256-fvtimmdxFDA+MQkZODMMQTnH7ICVHtsofPSk0fl7nm0=";
};

meta = {
inherit (src.meta) homepage;
description = "Loads a number of shell integrations when available";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ dudeofawesome ];
};

passthru = {
updateScript = unstableGitUpdater { };
};
}

0 comments on commit aa5840f

Please sign in to comment.