nixpkgs/pkgs/tools/admin/intecture/agent.nix
2017-02-19 03:49:33 +02:00

29 lines
744 B
Nix

{ stdenv, lib, fetchFromGitHub, rustPlatform
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
with rustPlatform;
buildRustPackage rec {
name = "intecture-agent-${version}";
version = "0.3.0";
src = fetchFromGitHub {
owner = "intecture";
repo = "agent";
rev = version;
sha256 = "0b59ij9c7hv2p4jx96f3acbygw27wiv8cfzzg6sg73l6k244k6l6";
};
depsSha256 = "1f94j54pg94f2x2lmmyj8dlki8plq6vnppmf3hzk3kd0rp7fzban";
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 ];
};
}