32 lines
846 B
Nix
32 lines
846 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
fetchFromGitHub,
|
||
|
|
rustPlatform,
|
||
|
|
}:
|
||
|
|
|
||
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||
|
|
pname = "mdns-scanner";
|
||
|
|
version = "0.24.0";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "CramBL";
|
||
|
|
repo = "mdns-scanner";
|
||
|
|
tag = "v${finalAttrs.version}";
|
||
|
|
hash = "sha256-0MHt/kSR6JvfCk08WIDPz6R9YYzDJ9RRTM6MU6sEwHk=";
|
||
|
|
};
|
||
|
|
|
||
|
|
cargoHash = "sha256-oJSsuU1vkisDISnp+/jFs1cWEVxr586l8yHbG6fkPjQ=";
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
homepage = "https://github.com/CramBL/mdns-scanner";
|
||
|
|
description = "Scan a network and create a list of IPs and associated hostnames, including mDNS hostnames and other aliases";
|
||
|
|
changelog = "https://github.com/CramBL/mdns-scanner/releases/tag/${finalAttrs.src.tag}";
|
||
|
|
license = with lib.licenses; [
|
||
|
|
asl20
|
||
|
|
mit
|
||
|
|
];
|
||
|
|
maintainers = with lib.maintainers; [ Cameo007 ];
|
||
|
|
mainProgram = "mdns-scanner";
|
||
|
|
};
|
||
|
|
})
|