30 lines
742 B
Nix
30 lines
742 B
Nix
{ stdenv, lib, fetchFromGitHub, rustPlatform
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
name = "intecture-auth-${version}";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intecture";
|
|
repo = "auth";
|
|
rev = version;
|
|
sha256 = "0c7ar3pc7n59lzfy74lwz51p09s2bglc870rfr4c0vmc91jl0pj2";
|
|
};
|
|
|
|
depsSha256 = "0wzr8hk63gh3nm8f7dbzwj8pgc3cm8p8mr2q7bbgvri1a5i83sfb";
|
|
|
|
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 ];
|
|
};
|
|
}
|