From 610d4925e393d730dd35ff89be999ff2749a9b6e Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 20 May 2022 14:52:43 +0300 Subject: [PATCH] =?UTF-8?q?hobbits:=200.52.0=20=E2=86=92=200.53.1,=20fix?= =?UTF-8?q?=20build=20on=20aarch64-linux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/tools/graphics/hobbits/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/graphics/hobbits/default.nix b/pkgs/tools/graphics/hobbits/default.nix index 477c6bea249a..cf3377d383ed 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, fftw, libpcap, libusb1, python3 +, cmake, pkg-config, pffft, libpcap, libusb1, python3 }: mkDerivation rec { pname = "hobbits"; - version = "0.52.0"; + version = "0.53.1"; src = fetchFromGitHub { owner = "Mahlet-Inc"; repo = pname; rev = "v${version}"; - sha256 = "sha256-GZHBkBRt1ySItV+h5rdvey7KwdUWh5+rgztXh6HW3Js="; + sha256 = "sha256-dMFsv2M96+65JxTOq0CG+vm7a75GkD7N7PmbsyZ2Fog="; }; postPatch = '' @@ -20,10 +20,12 @@ mkDerivation rec { --replace "[Mystery Build]" "${version}" ''; - buildInputs = [ fftw libpcap libusb1 python3 ]; + buildInputs = [ pffft libpcap libusb1 python3 ]; nativeBuildInputs = [ cmake pkg-config ]; + NIX_CFLAGS_COMPILE = lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing"; + meta = with lib; { description = "A multi-platform GUI for bit-based analysis, processing, and visualization"; homepage = "https://github.com/Mahlet-Inc/hobbits";