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

23 lines
581 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
2019-11-12 23:39:31 +00:00
rustPlatform.buildRustPackage rec {
name = "tdns-cli";
version = "0.0.5";
2019-11-12 23:39:31 +00:00
src = fetchFromGitHub {
owner = "rotty";
repo = name;
rev = "v${version}";
sha256 = "0nn036in5j1h0vxkwif0lf7fn900zy4f4kxlzy6qdx3jakgmxvwh";
};
cargoSha256 = "14mmfj5my8gbsdhlhz17w8wjcc085c6dkj78kwr2hhsbcxp1vjgg";
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 ];
};
}