2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2019-11-12 23:39:31 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-11-29 18:24:13 +00:00
|
|
|
pname = "tdns-cli";
|
2022-10-07 01:09:45 +00:00
|
|
|
version = "unstable-2021-02-19";
|
2020-07-31 04:08:19 +00:00
|
|
|
|
2019-11-12 23:39:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rotty";
|
2021-11-29 18:24:13 +00:00
|
|
|
repo = pname;
|
2022-10-07 01:09:45 +00:00
|
|
|
rev = "9a5455fe8a52f3f14dc55ef81511b479c8cd70ea";
|
|
|
|
hash = "sha256-BGxkqlKg81izq4eOBEZFJ/MPb3UCSOo8ZTYTjtjierk=";
|
2019-11-12 23:39:31 +00:00
|
|
|
};
|
|
|
|
|
2022-10-07 01:09:45 +00:00
|
|
|
cargoHash = "sha256-uRny+l/LaQPjF5AnbxgKFLdjuAxcez1BqsL4g54KAwU=";
|
2019-11-12 23:39:31 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-12 23:39:31 +00:00
|
|
|
description = "DNS tool that aims to replace dig and nsupdate";
|
|
|
|
homepage = "https://github.com/rotty/tdns-cli";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ astro ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "tdns";
|
2019-11-12 23:39:31 +00:00
|
|
|
};
|
|
|
|
}
|