2018-07-21 00:44:44 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform
|
2017-02-19 01:05:18 +00:00
|
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "intecture-auth";
|
2017-10-12 21:20:45 +00:00
|
|
|
version = "0.1.2";
|
2017-02-19 01:05:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intecture";
|
|
|
|
repo = "auth";
|
|
|
|
rev = version;
|
2017-10-12 21:20:45 +00:00
|
|
|
sha256 = "0c7ar3pc7n59lzfy74lwz51p09s2bglc870rfr4c0vmc91jl0pj2";
|
2017-02-19 01:05:18 +00:00
|
|
|
};
|
|
|
|
|
2020-03-08 23:16:56 +00:00
|
|
|
cargoSha256 = "17k4a3jd7n2fkalx7vvgah62pj77n536jvm17d60sj0yz2fxx799";
|
2017-02-19 01:05:18 +00:00
|
|
|
|
|
|
|
buildInputs = [ openssl zeromq czmq zlib ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Authentication client/server for Intecture components";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://intecture.io";
|
2017-02-19 01:05:18 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.rushmorem ];
|
|
|
|
};
|
|
|
|
}
|