2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
|
2019-11-12 23:39:31 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "tdns-cli";
|
|
|
|
version = "0.0.5";
|
2020-07-31 05:08:19 +01:00
|
|
|
|
2019-11-12 23:39:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rotty";
|
|
|
|
repo = name;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0nn036in5j1h0vxkwif0lf7fn900zy4f4kxlzy6qdx3jakgmxvwh";
|
|
|
|
};
|
|
|
|
|
2020-02-28 05:30:40 +00:00
|
|
|
cargoSha256 = "0v1hx6kjsmydx6ckjqj31y2gcpvax4mshwrniicplkka3q6hx9ra";
|
2019-11-12 23:39:31 +00:00
|
|
|
|
2021-01-11 07:54:33 +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 ];
|
|
|
|
};
|
|
|
|
}
|