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

View file

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