diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-26 23:53:39 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-26 23:53:39 +0200 |
commit | 322ed1b535f87a8f2f3e1df6822e6ab64121277d (patch) | |
tree | 086f447b8791b132cdb33301ca270c143252e524 /pkgs/tools/security/nbtscanner | |
parent | 441f8ef8e4fc5542ad2a6d90d1dbadc0797b2341 (diff) |
nbtscanner: init at 0.0.1
Diffstat (limited to 'pkgs/tools/security/nbtscanner')
-rw-r--r-- | pkgs/tools/security/nbtscanner/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/security/nbtscanner/default.nix b/pkgs/tools/security/nbtscanner/default.nix new file mode 100644 index 0000000000000..6ad9fdd47708f --- /dev/null +++ b/pkgs/tools/security/nbtscanner/default.nix @@ -0,0 +1,29 @@ +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +, Security +}: + +rustPlatform.buildRustPackage rec { + pname = "nbtscanner"; + version = "0.0.1"; + + src = fetchFromGitHub { + owner = "jonkgrimes"; + repo = pname; + rev = version; + sha256 = "06507a8y41v42cmvjpzimyrzdp972w15fjpc6c6750n1wa2wdl6c"; + }; + + cargoSha256 = "0cis54zmr2x0f4z664lmhk9dzx00hvds6jh3x417308sz7ak11gd"; + + buildInputs = lib.optional stdenv.isDarwin Security; + + meta = with lib; { + description = "NetBIOS scanner written in Rust"; + homepage = "https://github.com/jonkgrimes/nbtscanner"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |