2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "tdns-cli";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "unstable-2021-02-19";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rotty";
|
2021-12-06 16:07:01 +00:00
|
|
|
repo = pname;
|
2022-10-21 18:38:19 +00:00
|
|
|
rev = "9a5455fe8a52f3f14dc55ef81511b479c8cd70ea";
|
|
|
|
hash = "sha256-BGxkqlKg81izq4eOBEZFJ/MPb3UCSOo8ZTYTjtjierk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
cargoHash = "sha256-uRny+l/LaQPjF5AnbxgKFLdjuAxcez1BqsL4g54KAwU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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-27 09:35:20 +00:00
|
|
|
mainProgram = "tdns";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|