diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index 8967e9380d0b..d3a4a3661c16 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -62,6 +62,8 @@ lib.makeScope newScope (self: with self; { sdkman-for-fish = callPackage ./sdkman-for-fish.nix { }; + spark = callPackage ./spark.nix { }; + sponge = callPackage ./sponge.nix { }; tide = callPackage ./tide.nix { }; diff --git a/pkgs/shells/fish/plugins/spark.nix b/pkgs/shells/fish/plugins/spark.nix new file mode 100644 index 000000000000..68b23fb55d01 --- /dev/null +++ b/pkgs/shells/fish/plugins/spark.nix @@ -0,0 +1,26 @@ +{ + lib, + buildFishPlugin, + fetchFromGitHub, +}: +let + self = buildFishPlugin { + pname = "spark"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "jorgebucaran"; + repo = "spark.fish"; + rev = "refs/tags/${self.version}"; + hash = "sha256-AIFj7lz+QnqXGMBCfLucVwoBR3dcT0sLNPrQxA5qTuU="; + }; + + meta = { + description = "Sparklines for Fish"; + homepage = "https://github.com/jorgebucaran/spark.fish"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ theobori ]; + }; + }; +in +self