diff --git a/pkgs/tools/admin/intecture/agent.nix b/pkgs/tools/admin/intecture/agent.nix new file mode 100644 index 000000000000..27891614f4b2 --- /dev/null +++ b/pkgs/tools/admin/intecture/agent.nix @@ -0,0 +1,29 @@ +{ stdenv, lib, fetchFromGitHub, rustPlatform +, openssl, zeromq, czmq, pkgconfig, cmake, zlib }: + +with rustPlatform; + +buildRustPackage rec { + name = "intecture-agent-${version}"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "intecture"; + repo = "agent"; + rev = version; + sha256 = "0b59ij9c7hv2p4jx96f3acbygw27wiv8cfzzg6sg73l6k244k6l6"; + }; + + depsSha256 = "1f94j54pg94f2x2lmmyj8dlki8plq6vnppmf3hzk3kd0rp7fzban"; + + buildInputs = [ openssl zeromq czmq zlib ]; + + nativeBuildInputs = [ pkgconfig cmake ]; + + meta = with lib; { + description = "Authentication client/server for Intecture components"; + homepage = https://intecture.io; + license = licenses.mpl20; + maintainers = [ maintainers.rushmorem ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3bed76a142f3..622201ac10d0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2301,6 +2301,8 @@ with pkgs; innoextract = callPackage ../tools/archivers/innoextract { }; + intecture-agent = callPackage ../tools/admin/intecture/agent.nix { }; + intecture-auth = callPackage ../tools/admin/intecture/auth.nix { }; intecture-cli = callPackage ../tools/admin/intecture/cli.nix { };