nixpkgs/pkgs/tools/admin/intecture/agent.nix
2021-01-17 23:27:27 +07:00

30 lines
731 B
Nix

{ lib, fetchFromGitHub, rustPlatform
, openssl, zeromq, czmq, pkg-config, cmake, zlib }:
with rustPlatform;
buildRustPackage rec {
pname = "intecture-agent";
version = "0.3.1";
src = fetchFromGitHub {
owner = "intecture";
repo = "agent";
rev = version;
sha256 = "0j27qdgyxybaixggh7k57mpm6rifimn4z2vydk463msc8b3kgywj";
};
cargoSha256 = "1is1cbbwxf00dc64h76h57s0wxsai0zm5vfrrss7598cim6a4yxb";
buildInputs = [ openssl zeromq czmq zlib ];
nativeBuildInputs = [ pkg-config cmake ];
meta = with lib; {
description = "Authentication client/server for Intecture components";
homepage = "https://intecture.io";
license = licenses.mpl20;
maintainers = [ maintainers.rushmorem ];
};
}