nixpkgs/pkgs/tools/admin/intecture/auth.nix

30 lines
725 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform
2017-02-19 01:05:18 +00:00
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
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
};
cargoSha256 = "1rnhhb4mpf1j7c7a2pz4741hzbf2s2wb0bm25j049n64j49j3jq8";
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";
homepage = https://intecture.io;
license = licenses.mpl20;
maintainers = [ maintainers.rushmorem ];
};
}