Files

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

31 lines
675 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
fetchFromGitHub,
lib,
nix-update-script,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "dhcpm";
version = "0.2.3";
src = fetchFromGitHub {
owner = "leshow";
repo = "dhcpm";
tag = "v${version}";
hash = "sha256-vjKN9arR6Os3pgG89qmHt/0Ds5ToO38tLsQBay6VEIk=";
};
cargoHash = "sha256-L6+/buzhYoLdFh7x8EmT37JyY5Pr7oFzyOGbhvgNvlw=";
passthru.updateScript = nix-update-script { };
meta = {
description = "CLI tool for constructing & sending DHCP messages";
homepage = "https://github.com/leshow/dhcpm";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jmbaur ];
mainProgram = "dhcpm";
};
}