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
{ lib, stdenv, mkDerivation, fetchFromGitHub
2
-
, cmake, pkg-config, pffft, libpcap, libusb1, python3
3
}:
4
5
-
mkDerivation rec {
6
pname = "hobbits";
7
-
version = "0.53.1";
8
9
src = fetchFromGitHub {
10
owner = "Mahlet-Inc";
11
-
repo = pname;
12
rev = "v${version}";
13
-
sha256 = "sha256-dMFsv2M96+65JxTOq0CG+vm7a75GkD7N7PmbsyZ2Fog=";
14
};
15
16
postPatch = ''
···
22
23
buildInputs = [ pffft libpcap libusb1 python3 ];
24
25
-
nativeBuildInputs = [ cmake pkg-config ];
0
0
26
27
NIX_CFLAGS_COMPILE = lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing";
28
···
1
{ lib, stdenv, mkDerivation, fetchFromGitHub
2
+
, cmake, pkg-config, pffft, libpcap, libusb1, python3, wrapQtAppsHook
3
}:
4
5
+
stdenv.mkDerivation rec {
6
pname = "hobbits";
7
+
version = "0.53.2";
8
9
src = fetchFromGitHub {
10
owner = "Mahlet-Inc";
11
+
repo = "hobbits";
12
rev = "v${version}";
13
+
hash = "sha256-X2DotmzqeIESkO6o39si4kEkRhLO7yBr6Djh+0s+lFc=";
14
};
15
16
postPatch = ''
···
22
23
buildInputs = [ pffft libpcap libusb1 python3 ];
24
25
+
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
26
+
27
+
cmakeFlags = [ "-DUSE_SYSTEM_PFFFT=ON" ];
28
29
NIX_CFLAGS_COMPILE = lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing";
30