diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-03-21 23:17:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 23:17:10 +0100 |
commit | 5431cc6b2dbcbd53fc24548c55bb6c9fad1971d0 (patch) | |
tree | 44aebc5ef735639be0390ffe11f08f942e9d805f | |
parent | 1667719d1d724a190cc7f112355590fbada4eadc (diff) | |
parent | a60648f172fabd4a175585e7ca847bce104de9d2 (diff) |
Merge pull request #296198 from r-ryantm/auto-update/mhost
mhost: 0.3.0 -> 0.3.1
-rw-r--r-- | pkgs/applications/networking/mhost/default.nix | 13 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/applications/networking/mhost/default.nix b/pkgs/applications/networking/mhost/default.nix index ac02ca8f64c17..f4313187636c3 100644 --- a/pkgs/applications/networking/mhost/default.nix +++ b/pkgs/applications/networking/mhost/default.nix @@ -1,19 +1,22 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, Security, SystemConfiguration }: rustPlatform.buildRustPackage rec { pname = "mhost"; - version = "0.3.0"; + version = "0.3.1"; src = fetchFromGitHub { owner = "lukaspustina"; repo = pname; rev = "v${version}"; - sha256 = "1j0378f8gj8hdcdhpj6lqlnriasmjxzri42wjj9pygzkmpd3ym86"; + sha256 = "sha256-6jn9jOCh96d9y2l1OZ5hgxg7sYXPUFzJiiT95OR7lD0="; }; - cargoSha256 = "0gqrya0bpdd67k2sxib7f4npnrx84d9r4hjq2sg2xz4j8pmgs018"; + cargoHash = "sha256-d2JYT/eJaGm8pfmjsuSZiQxlzcsypFH53F/9joW0J6I="; - buildInputs = lib.optional stdenv.isDarwin Security; + buildInputs = lib.optionals stdenv.isDarwin [ + Security + SystemConfiguration + ]; CARGO_CRATE_NAME = "mhost"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 359cb9295404a..5d8aea8cf3192 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10894,7 +10894,7 @@ with pkgs; metasploit = callPackage ../tools/security/metasploit { }; mhost = callPackage ../applications/networking/mhost { - inherit (darwin.apple_sdk.frameworks) Security; + inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; ms-sys = callPackage ../tools/misc/ms-sys { }; |