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