Unverified Commit b56cbc70 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

dhcpm: init at 0.2.3 (#375243)

parents f50164a7 d8e490f5
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  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=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-L6+/buzhYoLdFh7x8EmT37JyY5Pr7oFzyOGbhvgNvlw=";

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Dhcpm is a CLI tool for constructing & sending DHCP messages";
    homepage = "https://github.com/leshow/dhcpm";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jmbaur ];
    mainProgram = "dhcpm";
  };
}