Skip to content

Commit

Permalink
fishPlugins.osx: init unversioned
Browse files Browse the repository at this point in the history
  • Loading branch information
dudeofawesome committed Dec 5, 2024
1 parent 6a42211 commit 4b3d61b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/shells/fish/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down
29 changes: 29 additions & 0 deletions pkgs/shells/fish/plugins/osx.nix
Original file line number Diff line number Diff line change
@@ -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 { };
};
}

0 comments on commit 4b3d61b

Please sign in to comment.