1{ lib, fetchFromGitHub, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "tdns-cli";
5 version = "unstable-2021-02-19";
6
7 src = fetchFromGitHub {
8 owner = "rotty";
9 repo = pname;
10 rev = "9a5455fe8a52f3f14dc55ef81511b479c8cd70ea";
11 hash = "sha256-BGxkqlKg81izq4eOBEZFJ/MPb3UCSOo8ZTYTjtjierk=";
12 };
13
14 cargoHash = "sha256-uRny+l/LaQPjF5AnbxgKFLdjuAxcez1BqsL4g54KAwU=";
15
16 meta = with lib; {
17 description = "DNS tool that aims to replace dig and nsupdate";
18 homepage = "https://github.com/rotty/tdns-cli";
19 license = licenses.gpl3;
20 maintainers = with maintainers; [ astro ];
21 mainProgram = "tdns";
22 };
23}