Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, rustPlatform
2, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
3
4with rustPlatform;
5
6buildRustPackage rec {
7 name = "intecture-agent-${version}";
8 version = "0.3.1";
9
10 src = fetchFromGitHub {
11 owner = "intecture";
12 repo = "agent";
13 rev = version;
14 sha256 = "0j27qdgyxybaixggh7k57mpm6rifimn4z2vydk463msc8b3kgywj";
15 };
16
17 cargoSha256 = "1fcl2nnplcic729cmvall2k7wf3jdm7dspvlbxji99bn813ackig";
18
19 buildInputs = [ openssl zeromq czmq zlib ];
20
21 nativeBuildInputs = [ pkgconfig cmake ];
22
23 meta = with lib; {
24 description = "Authentication client/server for Intecture components";
25 homepage = https://intecture.io;
26 license = licenses.mpl20;
27 maintainers = [ maintainers.rushmorem ];
28 };
29}