2018-07-21 02:44:44 +02:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform
|
2017-02-19 02:05:18 +01:00
|
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "intecture-auth-${version}";
|
2017-10-12 23:20:45 +02:00
|
|
|
version = "0.1.2";
|
2017-02-19 02:05:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intecture";
|
|
|
|
repo = "auth";
|
|
|
|
rev = version;
|
2017-10-12 23:20:45 +02:00
|
|
|
sha256 = "0c7ar3pc7n59lzfy74lwz51p09s2bglc870rfr4c0vmc91jl0pj2";
|
2017-02-19 02:05:18 +01:00
|
|
|
};
|
|
|
|
|
2017-08-05 16:38:48 +02:00
|
|
|
cargoSha256 = "0q3mrcvl1yyrx4a88kanjlfcx6slf7r79i0dh4w81sj6gp07sssm";
|
2017-02-19 02:05:18 +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 ];
|
|
|
|
};
|
|
|
|
}
|