Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 42 lines 914 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "vouch-proxy"; 9 version = "0.45.1"; 10 11 src = fetchFromGitHub { 12 owner = "vouch"; 13 repo = "vouch-proxy"; 14 tag = "v${version}"; 15 hash = "sha256-xI9xucRb2D2a1Fvp5DetB4ln3C020qSGEVnuIpy1TMI="; 16 }; 17 18 vendorHash = "sha256-hieN3RJA0eBqlYxJj6hKgpQhq8s3vg/fPzxW0XSrlPA="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 "-X main.version=${version}" 24 ]; 25 26 preCheck = '' 27 export VOUCH_ROOT=$PWD 28 ''; 29 30 meta = { 31 homepage = "https://github.com/vouch/vouch-proxy"; 32 description = "SSO and OAuth / OIDC login solution for NGINX using the auth_request module"; 33 changelog = "https://github.com/vouch/vouch-proxy/blob/v${version}/CHANGELOG.md"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ 36 leona 37 erictapen 38 ]; 39 platforms = lib.platforms.linux; 40 mainProgram = "vouch-proxy"; 41 }; 42}