tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hobbits: 0.53.1 → 0.53.2
Nikolay Korotkiy
3 years ago
ab5169d6
8157e3d8
+8
-6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
graphics
hobbits
default.nix
+8
-6
pkgs/tools/graphics/hobbits/default.nix
···
1
1
{ lib, stdenv, mkDerivation, fetchFromGitHub
2
2
-
, cmake, pkg-config, pffft, libpcap, libusb1, python3
2
2
+
, cmake, pkg-config, pffft, libpcap, libusb1, python3, wrapQtAppsHook
3
3
}:
4
4
5
5
-
mkDerivation rec {
5
5
+
stdenv.mkDerivation rec {
6
6
pname = "hobbits";
7
7
-
version = "0.53.1";
7
7
+
version = "0.53.2";
8
8
9
9
src = fetchFromGitHub {
10
10
owner = "Mahlet-Inc";
11
11
-
repo = pname;
11
11
+
repo = "hobbits";
12
12
rev = "v${version}";
13
13
-
sha256 = "sha256-dMFsv2M96+65JxTOq0CG+vm7a75GkD7N7PmbsyZ2Fog=";
13
13
+
hash = "sha256-X2DotmzqeIESkO6o39si4kEkRhLO7yBr6Djh+0s+lFc=";
14
14
};
15
15
16
16
postPatch = ''
···
22
22
23
23
buildInputs = [ pffft libpcap libusb1 python3 ];
24
24
25
25
-
nativeBuildInputs = [ cmake pkg-config ];
25
25
+
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
26
26
+
27
27
+
cmakeFlags = [ "-DUSE_SYSTEM_PFFFT=ON" ];
26
28
27
29
NIX_CFLAGS_COMPILE = lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing";
28
30