Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-03-11 12:21:28 +00:00
committed by GitHub
33 changed files with 388 additions and 64 deletions
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "hcxtools";
version = "6.1.5";
version = "6.1.6";
src = fetchFromGitHub {
owner = "ZerBea";
repo = pname;
rev = version;
sha256 = "1xvr89r6287788bx5qbw9sr8jvmajps0rpc7fvh9bfzb6zw2rq6w";
sha256 = "sha256-x6sVFjM2GMGqpoAW7CtCLUoEAYLgulaUKXequQ7DmGQ=";
};
nativeBuildInputs = [ pkg-config ];
+1 -5
View File
@@ -2,7 +2,6 @@
, stdenv
, rustPlatform
, fetchCrate
, pinentry
, openssl
, pkg-config
, makeWrapper
@@ -40,10 +39,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
postPatch = ''
substituteInPlace src/pinentry.rs \
--replace 'Command::new("pinentry")' 'Command::new("${pinentry}/${pinentry.binaryPath or "bin/pinentry"}")'
'' + lib.optionalString withFzf ''
postPatch = lib.optionalString withFzf ''
patchShebangs bin/rbw-fzf
substituteInPlace bin/rbw-fzf \
--replace fzf ${fzf}/bin/fzf \