Commit eec6ee81 authored by Felix Singer's avatar Felix Singer
Browse files

qbz: 1.2.4 -> 1.2.7



For whatever reason the default cargo tauri install phase builds the
Debian package and the application binary is pulled out from there. With
version 1.2.7 it's also required to sign the Debian package if it's
built and not specified otherwise.

So, while updating to 1.2.7, also add `--no-sign` since this is not
targeting Debian and this is less effort than creating a customized
install phase.

Signed-off-by: default avatarFelix Singer <felixsinger@posteo.net>
parent 373fe36e
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -22,23 +22,25 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "qbz";
  version = "1.2.4";
  version = "1.2.7";

  src = fetchFromGitHub {
    owner = "vicrodh";
    repo = "qbz";
    tag = "v${finalAttrs.version}";
    hash = "sha256-3MPWLovWRmSrSfaR5ciZR2+4S7QzPYYVdVKP+mczhis=";
    hash = "sha256-/7gYjCfMJ1TmjogGQWkRDgDaUZ8o03hVNxZ21w4xniU=";
  };

  cargoHash = "sha256-jc/OZi93S0Hu3ywuwNgekyezJ1qCvxWpE60mTu0Y8jU=";
  cargoHash = "sha256-Xk1v5QosIgzowLpo5L0qaSNFKqoL+kfQeA6KCIImK8M=";
  cargoRoot = "src-tauri";
  buildAndTestSubdir = finalAttrs.cargoRoot;

  tauriBuildFlags = [ "--no-sign" ];

  npmDeps = fetchNpmDeps {
    name = "qbz-${finalAttrs.version}-npm-deps";
    inherit (finalAttrs) src;
    hash = "sha256-JN3lQyEX1n5G1OcWuRNZl/KSfL7JEfsc4opeh4F/iAY=";
    hash = "sha256-xBad4Ms5dlE0jHZ5iKLS2dEujgIZahfNfcknJH9qoXM=";
  };

  env.LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";