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