nixpkgs/pkgs/by-name/nb/nbtscan/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
726 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
}:
stdenv.mkDerivation {
pname = "nbtscan";
version = "1.7.2-unstable-2022-10-29";
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = "nbtscan";
rev = "e09e22a2a322ba74bb0b3cd596933fe2e31f4b2b";
hash = "sha256-+AOubF6eZ1Zvk5n8mGl9TxEicBpS4kYThA4MrEaGjAs=";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; {
description = "Scan networks searching for NetBIOS information";
mainProgram = "nbtscan";
homepage = "https://github.com/resurrecting-open-source-projects/nbtscan";
maintainers = with maintainers; [ d3vil0p3r ];
platforms = platforms.unix;
license = licenses.gpl2Plus;
};
}