Merge pull request #220384 from Scrumplex/cool-fish-plugins

This commit is contained in:
Sandro 2023-04-01 02:04:33 +02:00 committed by GitHub
commit 8fc1e68962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 131 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib
, buildFishPlugin
, fetchFromGitHub
,
}:
buildFishPlugin rec {
pname = "bobthefish";
version = "unstable-2022-08-02";
src = fetchFromGitHub {
owner = "oh-my-fish";
repo = "theme-bobthefish";
rev = "2dcfcab653ae69ae95ab57217fe64c97ae05d8de";
sha256 = "sha256-jBbm0wTNZ7jSoGFxRkTz96QHpc5ViAw9RGsRBkCQEIU=";
};
meta = with lib; {
description = "A Powerline-style, Git-aware fish theme optimized for awesome";
homepage = "https://github.com/oh-my-fish/theme-bobthefish";
license = licenses.mit;
maintainers = with maintainers; [ Scrumplex ];
};
}

View File

@ -0,0 +1,23 @@
{ lib
, buildFishPlugin
, fetchFromGitHub
,
}:
buildFishPlugin rec {
pname = "bobthefisher";
version = "unstable-2023-03-09";
src = fetchFromGitHub {
owner = "Scrumplex";
repo = "bobthefisher";
rev = "6528033a2c9ca90611d04b6a4afd2131b9495cdc";
sha256 = "sha256-UDoSMFKtd6ur10guqJlkpA0YSCBv45FR5QKJqdXZWgw=";
};
meta = with lib; {
description = "A Powerline-style, Git-aware fish theme optimized for awesome (fork of bobthefish)";
homepage = "https://github.com/Scrumplex/bobthefisher";
license = licenses.mit;
maintainers = with maintainers; [ Scrumplex ];
};
}

View File

@ -5,6 +5,10 @@ lib.makeScope newScope (self: with self; {
autopair = callPackage ./autopair.nix { };
bobthefish = callPackage ./bobthefish.nix { };
bobthefisher = callPackage ./bobthefisher.nix { };
buildFishPlugin = callPackage ./build-fish-plugin.nix { };
colored-man-pages = callPackage ./colored-man-pages.nix { };
@ -24,10 +28,14 @@ lib.makeScope newScope (self: with self; {
forgit = callPackage ./forgit.nix { };
fzf = callPackage ./fzf.nix { };
fzf-fish = callPackage ./fzf-fish.nix { };
grc = callPackage ./grc.nix { };
humantime-fish = callPackage ./humantime-fish.nix { };
hydro = callPackage ./hydro.nix { };
pisces = callPackage ./pisces.nix { };
@ -41,6 +49,8 @@ lib.makeScope newScope (self: with self; {
sponge = callPackage ./sponge.nix { };
tide = callPackage ./tide.nix { };
z = callPackage ./z.nix { };
} // lib.optionalAttrs config.allowAliases {
autopair-fish = self.autopair; # Added 2023-03-10
})

View File

@ -0,0 +1,23 @@
{ lib
, buildFishPlugin
, fetchFromGitHub
,
}:
buildFishPlugin rec {
pname = "fzf";
version = "unstable-2021-05-12";
src = fetchFromGitHub {
owner = "jethrokuan";
repo = pname;
rev = "479fa67d7439b23095e01b64987ae79a91a4e283";
sha256 = "sha256-28QW/WTLckR4lEfHv6dSotwkAKpNJFCShxmKFGQQ1Ew=";
};
meta = with lib; {
description = "Ef-fish-ient fish keybindings for fzf";
homepage = "https://github.com/jethrokuan/fzf";
license = licenses.mit;
maintainers = with maintainers; [ Scrumplex ];
};
}

View File

@ -0,0 +1,29 @@
{ lib
, buildFishPlugin
, fetchFromGitHub
, fishtape
,
}:
buildFishPlugin rec {
pname = "humantime-fish";
version = "unstable-2022-04-08";
src = fetchFromGitHub {
owner = "jorgebucaran";
repo = "humantime.fish";
rev = "53b2adb4c6aff0da569c931a3cc006efcd0e7219";
sha256 = "sha256-792rPsf2WDIYcP8gn6TbHh9RZvskfOAL/oKfpilaLh0=";
};
checkPlugins = [ fishtape ];
checkPhase = ''
fishtape tests/humantime.fish
'';
meta = with lib; {
description = "Turn milliseconds into a human-readable string in Fish";
homepage = "https://github.com/jorgebucaran/humantime.fish";
license = licenses.mit;
maintainers = with maintainers; [ Scrumplex ];
};
}

View File

@ -0,0 +1,23 @@
{ lib
, buildFishPlugin
, fetchFromGitHub
,
}:
buildFishPlugin rec {
pname = "z";
version = "unstable-2022-04-08";
src = fetchFromGitHub {
owner = "jethrokuan";
repo = pname;
rev = "85f863f20f24faf675827fb00f3a4e15c7838d76";
sha256 = "sha256-+FUBM7CodtZrYKqU542fQD+ZDGrd2438trKM0tIESs0=";
};
meta = with lib; {
description = "Pure-fish z directory jumping";
homepage = "https://github.com/jethrokuan/z";
license = licenses.mit;
maintainers = with maintainers; [ Scrumplex ];
};
}