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.
35 lines
887 B
Nix
35 lines
887 B
Nix
{ lib, fetchFromGitHub, rustPlatform
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
pname = "intecture-cli";
|
|
version = "0.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intecture";
|
|
repo = "cli";
|
|
rev = version;
|
|
sha256 = "16a5fkpyqkf8w20k3ircc1d0qmif7nygkzxj6mzk9609dlb0dmxq";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "0dhrx6njfbd8w27ifk13g6s3ick579bhc4ijf54rfb9g6n8abafx";
|
|
|
|
buildInputs = [ openssl zeromq czmq zlib ];
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
|
|
# Needed for tests
|
|
USER = "$(whoami)";
|
|
|
|
meta = with lib; {
|
|
description = "A developer friendly, language agnostic configuration management tool for server systems";
|
|
homepage = https://intecture.io;
|
|
license = licenses.mpl20;
|
|
maintainers = [ maintainers.rushmorem ];
|
|
};
|
|
}
|