nixpkgs/pkgs/tools/networking/tdns-cli/default.nix

24 lines
646 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
2019-11-12 23:39:31 +00:00
rustPlatform.buildRustPackage rec {
pname = "tdns-cli";
version = "unstable-2021-02-19";
2019-11-12 23:39:31 +00:00
src = fetchFromGitHub {
owner = "rotty";
repo = pname;
rev = "9a5455fe8a52f3f14dc55ef81511b479c8cd70ea";
hash = "sha256-BGxkqlKg81izq4eOBEZFJ/MPb3UCSOo8ZTYTjtjierk=";
2019-11-12 23:39:31 +00:00
};
cargoHash = "sha256-uRny+l/LaQPjF5AnbxgKFLdjuAxcez1BqsL4g54KAwU=";
2019-11-12 23:39:31 +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 ];
mainProgram = "tdns";
2019-11-12 23:39:31 +00:00
};
}