3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/intecture/agent.nix
Benjamin Hipple eb11feaa0b treewide: change fetchCargoTarball default to opt-out
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.
2020-02-13 22:41:37 -08:00

33 lines
812 B
Nix

{ lib, fetchFromGitHub, rustPlatform
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
with rustPlatform;
buildRustPackage rec {
pname = "intecture-agent";
version = "0.3.1";
src = fetchFromGitHub {
owner = "intecture";
repo = "agent";
rev = version;
sha256 = "0j27qdgyxybaixggh7k57mpm6rifimn4z2vydk463msc8b3kgywj";
};
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "093ipd8lg2ngnln55x5j40g2n8f3y8aysgz9rjn95a4npxrg4yxw";
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 ];
};
}