From ab5169d64c0fa81e6804575f444746c198979baa Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Tue, 6 Sep 2022 16:24:08 +0300 Subject: [PATCH] =?UTF-8?q?hobbits:=200.53.1=20=E2=86=92=200.53.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/tools/graphics/hobbits/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/graphics/hobbits/default.nix b/pkgs/tools/graphics/hobbits/default.nix index cf3377d383e..2406df81526 100644 --- a/pkgs/tools/graphics/hobbits/default.nix +++ b/pkgs/tools/graphics/hobbits/default.nix @@ -1,16 +1,16 @@ { lib, stdenv, mkDerivation, fetchFromGitHub -, cmake, pkg-config, pffft, libpcap, libusb1, python3 +, cmake, pkg-config, pffft, libpcap, libusb1, python3, wrapQtAppsHook }: -mkDerivation rec { +stdenv.mkDerivation rec { pname = "hobbits"; - version = "0.53.1"; + version = "0.53.2"; src = fetchFromGitHub { owner = "Mahlet-Inc"; - repo = pname; + repo = "hobbits"; rev = "v${version}"; - sha256 = "sha256-dMFsv2M96+65JxTOq0CG+vm7a75GkD7N7PmbsyZ2Fog="; + hash = "sha256-X2DotmzqeIESkO6o39si4kEkRhLO7yBr6Djh+0s+lFc="; }; postPatch = '' @@ -22,7 +22,9 @@ mkDerivation rec { buildInputs = [ pffft libpcap libusb1 python3 ]; - nativeBuildInputs = [ cmake pkg-config ]; + nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; + + cmakeFlags = [ "-DUSE_SYSTEM_PFFFT=ON" ]; NIX_CFLAGS_COMPILE = lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing";