forked from mirrors/nixpkgs
85f96822a0
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
30 lines
729 B
Nix
30 lines
729 B
Nix
{ lib, fetchFromGitHub, rustPlatform
|
|
, openssl, zeromq, czmq, pkg-config, cmake, zlib }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
pname = "intecture-auth";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intecture";
|
|
repo = "auth";
|
|
rev = version;
|
|
sha256 = "0c7ar3pc7n59lzfy74lwz51p09s2bglc870rfr4c0vmc91jl0pj2";
|
|
};
|
|
|
|
cargoSha256 = "15f7lb0xxaxvhvj8g3kjmqy5jzy4pyzwk3zfdvykphpg18qgg6qj";
|
|
|
|
buildInputs = [ openssl zeromq czmq zlib ];
|
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "Authentication client/server for Intecture components";
|
|
homepage = "https://intecture.io";
|
|
license = licenses.mpl20;
|
|
maintainers = [ maintainers.rushmorem ];
|
|
};
|
|
}
|