Skip to content

Commit

Permalink
crab-hole: init at 0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasVousten committed Oct 2, 2024
1 parent 21b3db8 commit 488df15
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/by-name/cr/crab-hole/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:

rustPlatform.buildRustPackage rec {
pname = "crab-hole";
version = "0.1.9-unstable-2024-09-05";

src = fetchFromGitHub {
owner = "LuckyTurtleDev";
repo = pname;
rev = "259b8a00e2a672ed4a4d09ad660c88b06c5b2a6b"; # Version 0.1.9 + fixed warning
hash = "sha256-N/jfNC55WcbhZtmNfPy9oszntmlz8IhDgitNOaKCdI4=";
};

cargoHash = "sha256-B3FSKV7fVWdZ8r53fUtqZV7tyVVsP9CzwvoDCqfR42M=";

meta = {
description = "Pi-Hole clone written in rust using hickory-dns/trust-dns";
homepage = "https://github.com/LuckyTurtleDev/crab-hole";
license = lib.licenses.agpl3Plus;
mainProgram = "crab-hole";
maintainers = [
lib.maintainers.NiklasVousten
];
platforms = lib.platforms.all;
};
}

0 comments on commit 488df15

Please sign in to comment.