Merge pull request #143688 from figsoda/update-synth

synth: 0.6.0 -> 0.6.1
This commit is contained in:
figsoda 2021-11-02 12:27:26 -04:00 committed by GitHub
commit 416737a04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View File

@ -4,25 +4,31 @@
, pkg-config
, openssl
, stdenv
, CoreFoundation
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "synth";
version = "0.6.0";
version = "0.6.1";
src = fetchFromGitHub {
owner = "getsynth";
repo = pname;
rev = "v${version}";
sha256 = "sha256-i5X2HUOCgY2znH4rDzhFpsPXsFeM7GR4soAO/rFDjjo=";
sha256 = "sha256-VsvGrlFmn8Q7dhvo3Buy8G0oeNErtBT4lZ8k8WFC8Zo=";
};
cargoSha256 = "sha256-47i46Y6JjTGWC7mfMd2x2k8v0SY1o2UHdEU4rF0VrsY=";
cargoSha256 = "sha256-10b2n7wMuBt90GZ6AVnSMT7r2501tounw13eJhyrmS4=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
CoreFoundation
Security
SystemConfiguration
];
# requires unstable rust features
RUSTC_BOOTSTRAP = 1;

View File

@ -3534,7 +3534,7 @@ with pkgs;
sydbox = callPackage ../os-specific/linux/sydbox { };
synth = callPackage ../tools/misc/synth {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
};
syscall_limiter = callPackage ../os-specific/linux/syscall_limiter {};