Files
nixpkgs/pkgs/by-name/oa/oauth2c/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
1.0 KiB
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "oauth2c";
version = "1.17.2";
src = fetchFromGitHub {
owner = "cloudentity";
repo = "oauth2c";
rev = "v${version}";
hash = "sha256-axCzPCYPn6T8AGqE92Yf/aVJ78Wl004Ts4YebSWYa6U=";
};
vendorHash = "sha256-ZQFIETfiNKyeZuskwNfoTXBy3MSWmG0tDztz0Mm7xJY=";
doCheck = false; # tests want to talk to oauth2c.us.authz.cloudentity.io
meta = with lib; {
homepage = "https://github.com/cloudentity/oauth2c";
description = "User-friendly OAuth2 CLI";
mainProgram = "oauth2c";
longDescription = ''
oauth2c is a command-line tool for interacting with OAuth 2.0
authorization servers. Its goal is to make it easy to fetch access tokens
using any grant type or client authentication method. It is compliant with
almost all basic and advanced OAuth 2.0, OIDC, OIDF FAPI and JWT profiles.
'';
license = licenses.asl20;
maintainers = [ maintainers.flokli ];
platforms = platforms.darwin ++ platforms.linux;
};
}