23 stdenv.mkDerivation (finalAttrs: {
24 pname = "iio-oscilloscope";
27 src = fetchFromGitHub {
28 owner = "analogdevicesinc";
29 repo = finalAttrs.pname;
30 rev = "v${finalAttrs.version}-master";
31 hash = "sha256-wCeOLAkrytrBaXzUbNu8z2Ayz44M+b+mbyaRoWHpZYU=";
35 # error: 'idx' may be used uninitialized
36 substituteInPlace plugins/lidar.c --replace-fail "int i, j, idx;" "int i, j, idx = 0;"
55 ] ++ lib.optional enable9361 libad9361;
58 "-DCMAKE_POLKIT_PREFIX=${placeholder "out"}"
62 description = "GTK+ based oscilloscope application for interfacing with various IIO devices";
63 homepage = "https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope";
65 license = lib.licenses.gpl2Only;
66 changelog = "https://github.com/analogdevicesinc/iio-oscilloscope/releases/tag/v${finalAttrs.version}-master";
67 maintainers = with lib.maintainers; [ chuangzhu ];
68 platforms = lib.platforms.linux;