cf572e9154
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
28 lines
755 B
Nix
28 lines
755 B
Nix
{
|
|
description = "OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
buildDeps = with pkgs; [ git go_1_19 gnumake ];
|
|
devDeps = with pkgs;
|
|
buildDeps ++ [
|
|
golangci-lint
|
|
gotestsum
|
|
protobuf
|
|
protoc-gen-go
|
|
protoc-gen-go-grpc
|
|
kind
|
|
];
|
|
in
|
|
{ devShell = pkgs.mkShell { buildInputs = devDeps; }; }
|
|
);
|
|
}
|