5d26766cbf
Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
34 lines
749 B
Nix
34 lines
749 B
Nix
{
|
|
bash,
|
|
lib,
|
|
buildFishPlugin,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildFishPlugin {
|
|
pname = "foreign-env";
|
|
version = "0-unstable-2023-08-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oh-my-fish";
|
|
repo = "plugin-foreign-env";
|
|
rev = "7f0cf099ae1e1e4ab38f46350ed6757d54471de7";
|
|
hash = "sha256-4+k5rSoxkTtYFh/lEjhRkVYa2S4KEzJ/IJbyJl+rJjQ=";
|
|
};
|
|
|
|
preInstall = ''
|
|
sed -i -e "s|bash|${lib.getExe bash}|" functions/fenv.main.fish
|
|
'';
|
|
|
|
meta = {
|
|
description = "Foreign environment interface for Fish shell";
|
|
homepage = "https://github.com/oh-my-fish/plugin-foreign-env";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
jgillich
|
|
prince213
|
|
];
|
|
platforms = with lib.platforms; unix;
|
|
};
|
|
}
|