diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index f47ef44c29daed..e592269b9e73b5 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -58,6 +58,8 @@ lib.makeScope newScope (self: with self; { nvm = callPackage ./nvm.nix { }; + osx = callPackage ./osx.nix { }; + pisces = callPackage ./pisces.nix { }; plugin-git = callPackage ./plugin-git.nix { }; diff --git a/pkgs/shells/fish/plugins/osx.nix b/pkgs/shells/fish/plugins/osx.nix new file mode 100644 index 00000000000000..c36f2abbf4b6cf --- /dev/null +++ b/pkgs/shells/fish/plugins/osx.nix @@ -0,0 +1,29 @@ +{ + lib, + buildFishPlugin, + fetchFromGitHub, + unstableGitUpdater, +}: + +buildFishPlugin rec { + pname = "osx"; + version = "0-unstable-2019-01-14"; + + src = fetchFromGitHub { + owner = "oh-my-fish"; + repo = "plugin-${pname}"; + rev = "27039b251201ec2e70d8e8052cbc59fa0ac3b3cd"; + hash = "sha256-jSUIk3ewM6QnfoAtp16l96N1TlX6vR0d99dvEH53Xgw="; + }; + + meta = { + inherit (src.meta) homepage; + description = "Integration with macOS Finder, iTunes, and more"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ dudeofawesome ]; + }; + + passthru = { + updateScript = unstableGitUpdater { }; + }; +}