Merge pull request #212317 from figsoda/hck

hck: 0.7.5 -> 0.8.2
This commit is contained in:
figsoda 2023-01-24 20:26:05 -05:00 committed by GitHub
commit 299eb96de1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View file

@ -3,26 +3,27 @@
, fetchFromGitHub
, cmake
, stdenv
, CoreFoundation
, Security
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "hck";
version = "0.7.5";
version = "0.8.2";
src = fetchFromGitHub {
owner = "sstadick";
repo = pname;
rev = "v${version}";
sha256 = "sha256-29uxcbqAnWCdxKqVdrMVtorXvSLUC+jlt4YwE19Gh+A=";
sha256 = "sha256-66wunZuRAJ6QVWgBUy2+HGaow33F5+16LitGSQC4kCE=";
};
cargoSha256 = "sha256-VHuzv6Zq83byXDEEyYDtlaPC4DZ3GNJaJfO0ACrrqO8=";
cargoSha256 = "sha256-4CAj94wm9qxr9wejD2ffKSdRV1UeofMhxNxLi++At+I=";
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
# link System as a dylib instead of a framework on macos
postPatch = lib.optionalString stdenv.isDarwin ''

View file

@ -37245,9 +37245,7 @@ with pkgs;
gummy = callPackage ../tools/misc/gummy { };
hck = callPackage ../tools/text/hck {
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
};
hck = callPackage ../tools/text/hck { };
helm = callPackage ../applications/audio/helm { };