hobbits: 0.53.1 → 0.53.2

This commit is contained in:
Nikolay Korotkiy 2022-09-06 16:24:08 +03:00
parent 8157e3d89f
commit ab5169d64c
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -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";