Skip to content

Commit

Permalink
ci: build gh-token in flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
krtk6160 committed Dec 7, 2023
1 parent fe3fb1d commit 759189c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,21 @@
cp -rpv "build/$name-$system/bin" "$out/"
'';
};

gh-token = pkgs.buildGoModule rec {
pname = "gh-token";
version = "v2.0.1";

src = pkgs.fetchFromGitHub {
owner = "Link-";
repo = "gh-token";
rev = "${version}";
hash = "sha256-GoPdnZowkXowaJ1yBjxPqUz+S7FDeqovChwNZzOHosM=";
};

vendorHash = "sha256-QiaGdHpDeuiX6QDLX2G4rx73QasWwQ3q8BYbv/Tws8c=";
};

in
with pkgs; {
packages = {
Expand Down Expand Up @@ -249,6 +264,7 @@
bash
yq-go
google-cloud-sdk
gh-token
openssh
rsync
git-cliff
Expand Down

0 comments on commit 759189c

Please sign in to comment.