diff --git a/flake.lock b/flake.lock index cdcbe78..eee567e 100644 --- a/flake.lock +++ b/flake.lock @@ -244,6 +244,22 @@ "type": "github" } }, + "gh-collaborators": { + "flake": false, + "locked": { + "lastModified": 1717117275, + "narHash": "sha256-x3p2bHL6U8gWanXnTTJGgA9x4Ixy9AOZiBbfcfn5VVw=", + "owner": "katiem0", + "repo": "gh-collaborators", + "rev": "4dfcd0b5c2e31f2d0fbfd4b83fdfae787a5e6ff8", + "type": "github" + }, + "original": { + "owner": "katiem0", + "repo": "gh-collaborators", + "type": "github" + } + }, "hmts-nvim-src": { "flake": false, "locked": { @@ -584,6 +600,7 @@ "disko": "disko", "fidget-nvim-src": "fidget-nvim-src", "firefox-darwin": "firefox-darwin", + "gh-collaborators": "gh-collaborators", "hmts-nvim-src": "hmts-nvim-src", "home-manager": "home-manager", "mac-app-util": "mac-app-util", diff --git a/flake.nix b/flake.nix index 268d3a6..21fc9a4 100644 --- a/flake.nix +++ b/flake.nix @@ -185,6 +185,11 @@ flake = false; }; + gh-collaborators = { + url = "github:katiem0/gh-collaborators"; + flake = false; + }; + # Nextcloud Apps nextcloud-news = { # https://github.com/nextcloud/news/releases @@ -260,7 +265,7 @@ (import ./overlays/mpv-scripts.nix inputs) (import ./overlays/nextcloud-apps.nix inputs) (import ./overlays/betterlockscreen.nix) - (import ./overlays/gh-collaborators.nix) + (import ./overlays/gh-collaborators.nix inputs) (import ./overlays/ren-rep.nix inputs) ]; diff --git a/overlays/gh-collaborators.nix b/overlays/gh-collaborators.nix index e5f57b2..c75a68a 100644 --- a/overlays/gh-collaborators.nix +++ b/overlays/gh-collaborators.nix @@ -1,15 +1,9 @@ -_final: prev: { +inputs: _final: prev: { gh-collaborators = prev.buildGoModule rec { pname = "gh-collaborators"; version = "v2.0.3"; - - src = prev.fetchFromGitHub { - owner = "nmasur"; - repo = "gh-collaborators"; - rev = version; - sha256 = "sha256-XgAZ/+7QxIRKiAZ4Gp/rLgTABSXkVjFQ8TbXOFj9vpM="; - }; + src = inputs.gh-collaborators; # vendorHash = "sha256-rsRDOgJBa8T6+bC/APcmuRmg6ykbIp9pwRnJ9rrfHEs="; vendorHash = "sha256-fykxRb2U9DDsXorRTLiVWmhMY89N7RS07sal8ww6gz4=";