-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6139b3b
commit 18ba5d2
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ lib | ||
, buildGoModule | ||
, fetchFromGitHub | ||
}: | ||
|
||
buildGoModule rec { | ||
pname = "obligator"; | ||
version = "0.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "anderspitman"; | ||
repo = "obligator"; | ||
rev = version; | ||
hash = "sha256-ESuBYK7kcVR3PjSqswnnWG/VHEfkpgemkXp490TFX5s="; | ||
}; | ||
|
||
vendorHash = "sha256-pEz4odZyqlWt11DTlBM5kWbcBbEIW2KoYlymaodVI/M="; | ||
|
||
ldflags = [ "-s" "-w" ]; | ||
|
||
meta = with lib; { | ||
description = "Simple and opinionated OpenID Connect server designed for self-hosters"; | ||
homepage = "https://github.com/anderspitman/obligator"; | ||
license = licenses.unfree; # FIXME: nix-init did not found a license | ||
maintainers = with maintainers; [ jpetrucciani ]; | ||
mainProgram = "obligator"; | ||
}; | ||
} |