hck: 0.5.4 -> 0.6.1

This commit is contained in:
figsoda 2021-09-02 22:05:16 -04:00
parent 265795962c
commit ca899bfe66
2 changed files with 19 additions and 5 deletions

View File

@ -1,17 +1,29 @@
{ fetchFromGitHub, lib, rustPlatform }:
{ cmake
, fetchFromGitHub
, lib
, rustPlatform
, stdenv
, libiconv
, CoreFoundation
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "hck";
version = "0.5.4";
version = "0.6.1";
src = fetchFromGitHub {
owner = "sstadick";
repo = pname;
rev = "v${version}";
sha256 = "1zdzi98qywlwk5bp47963vya2p2ahrbjkc9h63lmb05wlas9s78y";
sha256 = "1l1v02rvb30bcq13ww56k04nc231f7q73zgf281974d6s2qwjdwh";
};
cargoSha256 = "0lvd5xpgh2vq2lszzb0fs6ha2vb419a5w0hlkq3287vq3ya3p4qg";
cargoSha256 = "1isgbzi8afbr2xkw70nxakwcb5zjzw28rgp4p7ammhfxjjxw7y93";
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ];
meta = with lib; {
description = "A close to drop in replacement for cut that can use a regex delimiter instead of a fixed string";

View File

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