Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
695 B
Nix
Raw Permalink Normal View History

2024-09-12 16:37:46 +02:00
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "crab-hole";
version = "0.1.12";
2024-09-12 16:37:46 +02:00
src = fetchFromGitHub {
owner = "LuckyTurtleDev";
repo = "crab-hole";
tag = "v${version}";
hash = "sha256-HJQpzUdvjGhZnH5+qlgaekDpqSUmOhR30VPzg1lZIl0=";
2024-09-12 16:37:46 +02:00
};
cargoHash = "sha256-eAVsursZ19H9xyuiClQmGcqh343JP5eKfBkxXrXlM3I=";
2024-09-12 16:37:46 +02:00
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;
};
}