Unverified Commit 9fa35efd authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

fishPlugins.spark: init at 1.2.0 (#357047)

parents 685925b5 2a8b6e97
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 { };
+26 −0
Original line number Diff line number Diff line
{
  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