2017-02-19 02:36:52 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, rustPlatform
|
|
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "intecture-agent-${version}";
|
2017-10-12 23:55:14 +02:00
|
|
|
version = "0.3.1";
|
2017-02-19 02:36:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intecture";
|
|
|
|
repo = "agent";
|
|
|
|
rev = version;
|
2017-10-12 23:55:14 +02:00
|
|
|
sha256 = "0j27qdgyxybaixggh7k57mpm6rifimn4z2vydk463msc8b3kgywj";
|
2017-02-19 02:36:52 +01:00
|
|
|
};
|
|
|
|
|
2017-10-12 23:55:14 +02:00
|
|
|
depsSha256 = "1n57i9wkak76ram748mwq0dn32d041ajd31laqc13c76pp29agrp";
|
2017-02-19 02:36:52 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|