eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
32 lines
810 B
Nix
32 lines
810 B
Nix
{ lib, fetchFromGitHub, rustPlatform
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
pname = "intecture-auth";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intecture";
|
|
repo = "auth";
|
|
rev = version;
|
|
sha256 = "0c7ar3pc7n59lzfy74lwz51p09s2bglc870rfr4c0vmc91jl0pj2";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "1rnhhb4mpf1j7c7a2pz4741hzbf2s2wb0bm25j049n64j49j3jq8";
|
|
|
|
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 ];
|
|
};
|
|
}
|