2025-07-26 11:39:35 +02:00

31 lines
695 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "crab-hole";
version = "0.1.12";
src = fetchFromGitHub {
owner = "LuckyTurtleDev";
repo = "crab-hole";
tag = "v${version}";
hash = "sha256-HJQpzUdvjGhZnH5+qlgaekDpqSUmOhR30VPzg1lZIl0=";
};
cargoHash = "sha256-eAVsursZ19H9xyuiClQmGcqh343JP5eKfBkxXrXlM3I=";
meta = {
description = "Pi-Hole clone written in Rust using Hickory DNS";
homepage = "https://github.com/LuckyTurtleDev/crab-hole";
license = lib.licenses.agpl3Plus;
mainProgram = "crab-hole";
maintainers = [
lib.maintainers.NiklasVousten
];
platforms = lib.platforms.linux;
};
}