nixpkgs/pkgs/tools/admin/intecture/agent.nix

30 lines
731 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform
, openssl, zeromq, czmq, pkg-config, cmake, zlib }:
2017-02-19 01:36:52 +00:00
with rustPlatform;
buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "intecture-agent";
2017-10-12 21:55:14 +00:00
version = "0.3.1";
2017-02-19 01:36:52 +00:00
src = fetchFromGitHub {
owner = "intecture";
repo = "agent";
rev = version;
2017-10-12 21:55:14 +00:00
sha256 = "0j27qdgyxybaixggh7k57mpm6rifimn4z2vydk463msc8b3kgywj";
2017-02-19 01:36:52 +00:00
};
cargoSha256 = "0j7yv00ipaa60hpakfj60xrblcyzjwi0lp2hpzz41vq3p9bkigvm";
2017-02-19 01:36:52 +00:00
buildInputs = [ openssl zeromq czmq zlib ];
nativeBuildInputs = [ pkg-config cmake ];
2017-02-19 01:36:52 +00:00
meta = with lib; {
description = "Authentication client/server for Intecture components";
homepage = "https://intecture.io";
2017-02-19 01:36:52 +00:00
license = licenses.mpl20;
maintainers = [ maintainers.rushmorem ];
};
}