Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
800 B
Nix
36 lines
800 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchCrate,
|
|
stdenv,
|
|
libiconv,
|
|
nixosTests,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "doh-proxy-rust";
|
|
version = "0.9.15";
|
|
|
|
src = fetchCrate {
|
|
inherit version;
|
|
crateName = "doh-proxy";
|
|
hash = "sha256-uqFqDaq5a9wW46pTLfVN+5WuyYGvm3ZYQCtC6jkG1kg=";
|
|
};
|
|
|
|
cargoHash = "sha256-eYhax+TM3N75qj0tyHioUeUt159ZfkuFFIZK1jUbojw=";
|
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
|
libiconv
|
|
];
|
|
|
|
passthru.tests = { inherit (nixosTests) doh-proxy-rust; };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jedisct1/doh-server";
|
|
description = "Fast, mature, secure DoH server proxy written in Rust";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ stephank ];
|
|
mainProgram = "doh-proxy";
|
|
};
|
|
}
|