commit
299eb96de1
2 changed files with 8 additions and 9 deletions
|
@ -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 ''
|
||||||
|
|
|
@ -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 { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue