nix-cache-login/package.nix

23 lines
499 B
Nix
Raw Permalink Normal View History

2026-02-26 11:24:48 +01:00
{
lib,
buildGoModule,
fetchgit,
}:
buildGoModule {
pname = "nix-cache-login";
version = "0.1.0";
src = ./.;
# src = fetchgit {
# url = "https://guardianproject.dev/ops/nix-cache-login.git";
# rev = "v0.1.0";
# hash = "";
# };
vendorHash = "sha256-1s77IEGP7/6sgXSNdByRQqisLHSeJuRSsrnxUGfkxos=";
meta = {
description = "CLI tool for authenticating with a Nix binary cache via OIDC";
mainProgram = "nix-cache-login";
license = lib.licenses.gpl3Plus;
};
}