diff options
author | Merlin Göttlinger <megoettlinger@gmail.com> | 2021-10-04 14:33:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 14:33:20 +0200 |
commit | 3009b7e500faf8b61a30b258ae8e98a0c684f035 (patch) | |
tree | 2c10fef4fec4650be140df1642ca51f04363ce16 | |
parent | d4129f74eb0e86a50cc7c2e8e56321c66e3219b1 (diff) |
mhost: init at 0.3.0 (#140455)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
-rw-r--r-- | pkgs/applications/networking/mhost/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mhost/default.nix b/pkgs/applications/networking/mhost/default.nix new file mode 100644 index 000000000000..f6aad5eaa081 --- /dev/null +++ b/pkgs/applications/networking/mhost/default.nix @@ -0,0 +1,26 @@ +{ fetchFromGitHub, rustPlatform, lib }: + +rustPlatform.buildRustPackage rec { + pname = "mhost"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "lukaspustina"; + repo = pname; + rev = "v${version}"; + sha256 = "1j0378f8gj8hdcdhpj6lqlnriasmjxzri42wjj9pygzkmpd3ym86"; + }; + + cargoSha256 = "0gqrya0bpdd67k2sxib7f4npnrx84d9r4hjq2sg2xz4j8pmgs018"; + + CARGO_CRATE_NAME = "mhost"; + + doCheck = false; + + meta = with lib; { + description = "A modern take on the classic host DNS lookup utility including an easy to use and very fast Rust lookup library"; + homepage = "https://github.com/lukaspustina/mhost"; + license = with licenses; [ asl20 /* or */ mit ]; + maintainers = [ maintainers.mgttlinger ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ffebfa8462e7..260ccc12f8cf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7429,6 +7429,8 @@ with pkgs; metasploit = callPackage ../tools/security/metasploit { }; + mhost = callPackage ../applications/networking/mhost { }; + ms-sys = callPackage ../tools/misc/ms-sys { }; mtdutils = callPackage ../tools/filesystems/mtdutils { }; |