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
47 lines
1.0 KiB
Nix
47 lines
1.0 KiB
Nix
{
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
lib,
|
|
}:
|
|
let
|
|
pname = "oathkeeper";
|
|
version = "0.40.9";
|
|
commit = "c75695837f170334b526359f28967aa33d61bce6";
|
|
in
|
|
buildGoModule {
|
|
inherit pname version commit;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ory";
|
|
repo = "oathkeeper";
|
|
rev = "v${version}";
|
|
hash = "sha256-R7xKhKF7mhS/vmSpOj+QDL0OBBWnh42X2Kr3TDQxVIo=";
|
|
};
|
|
|
|
vendorHash = "sha256-qETVUpxckZGa41Ll+SZTGcDlImsCvbvGQBcIwuIzSY8=";
|
|
|
|
tags = [
|
|
"sqlite"
|
|
"json1"
|
|
"hsm"
|
|
];
|
|
|
|
subPackages = [ "." ];
|
|
|
|
# Pass versioning information via ldflags
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/ory/oathkeeper/internal/driver/config.Version=${version}"
|
|
"-X github.com/ory/oathkeeper/internal/driver/config.Commit=${commit}"
|
|
];
|
|
|
|
meta = {
|
|
description = "Open-source identity and access proxy that authorizes HTTP requests based on sets of rules";
|
|
homepage = "https://www.ory.sh/oathkeeper/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ camcalaquian ];
|
|
mainProgram = "oathkeeper";
|
|
};
|
|
}
|