package trust-dns
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
browserpass-extension = prev.callPackage ./browserpass-extension { };
|
browserpass-extension = prev.callPackage ./browserpass-extension { };
|
||||||
gopass-native-messaging-host = prev.callPackage ./gopass-native-messaging-host { };
|
gopass-native-messaging-host = prev.callPackage ./gopass-native-messaging-host { };
|
||||||
tokodon = prev.libsForQt5.callPackage ./tokodon { };
|
tokodon = prev.libsForQt5.callPackage ./tokodon { };
|
||||||
|
trust-dns = prev.callPackage ./trust-dns { };
|
||||||
# kaiteki = prev.kaiteki;
|
# kaiteki = prev.kaiteki;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
33
pkgs/trust-dns/default.nix
Normal file
33
pkgs/trust-dns/default.nix
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, openssl
|
||||||
|
, pkg-config
|
||||||
|
, rustPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "trust-dns";
|
||||||
|
version = "0.22.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bluejekyll";
|
||||||
|
repo = "trust-dns";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-b9tK1JbTwB3ZuRPh0wb3cOFj9dMW7URXIaFzUq0Yipw=";
|
||||||
|
};
|
||||||
|
cargoHash = "sha256-mpobdeTRWJzIEmhwtcM6UE66qRD5ot/0yLeQM6Tec+0=";
|
||||||
|
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
# tests expect internet connectivity to query real nameservers like 8.8.8.8
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A Rust based DNS client, server, and resolver";
|
||||||
|
homepage = "https://trust-dns.org/";
|
||||||
|
maintainers = with maintainers; [ colinsane ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = with licenses; [ asl20 mit ];
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user