forked from mirrors/nixpkgs
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.
26 lines
678 B
Nix
26 lines
678 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
name = "tdns-cli";
|
|
version = "0.0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rotty";
|
|
repo = name;
|
|
rev = "v${version}";
|
|
sha256 = "0nn036in5j1h0vxkwif0lf7fn900zy4f4kxlzy6qdx3jakgmxvwh";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "0h41ws3jcxb90mhnznckfkfv0mpx6ykga7087bipbaw2fqhr7izd";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "DNS tool that aims to replace dig and nsupdate";
|
|
homepage = "https://github.com/rotty/tdns-cli";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ astro ];
|
|
};
|
|
}
|