2018-07-21 01:44:44 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform
|
2017-02-19 01:36:52 +00:00
|
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "intecture-agent-${version}";
|
2017-10-12 22:55:14 +01:00
|
|
|
version = "0.3.1";
|
2017-02-19 01:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intecture";
|
|
|
|
repo = "agent";
|
|
|
|
rev = version;
|
2017-10-12 22:55:14 +01:00
|
|
|
sha256 = "0j27qdgyxybaixggh7k57mpm6rifimn4z2vydk463msc8b3kgywj";
|
2017-02-19 01:36:52 +00:00
|
|
|
};
|
|
|
|
|
2017-08-05 15:38:48 +01:00
|
|
|
cargoSha256 = "1fcl2nnplcic729cmvall2k7wf3jdm7dspvlbxji99bn813ackig";
|
2017-02-19 01:36:52 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|