10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-TL0bgzQgge6j1SpZCdxv/s4pBMSg4/3U5QisjkVE6BE=";
21 cargoHash = "sha256-WGap0j90obpJHiMNokCWg0Q3xIAqwvmiESg9NVnFMKE=";
24 buildInputs = [ openssl ];
25 nativeBuildInputs = [ pkg-config ];
27 RUSTFMT = "${rustfmt}/bin/rustfmt";
29 # Integration tests try to access the ZeroTier API which requires an API token.
30 # https://github.com/zerotier/zeronsd/blob/v0.5.2/tests/service/network.rs#L10
34 description = "A DNS server for ZeroTier users";
35 homepage = "https://github.com/zerotier/zeronsd";
36 license = licenses.bsd3;
37 maintainers = [ maintainers.dstengele ];