sdrangel: fix build (#449871)

This commit is contained in:
Yohann Boniface
2025-10-12 21:31:19 +00:00
committed by GitHub
6 changed files with 31 additions and 22 deletions

View File

@@ -7,15 +7,15 @@
libusb1, libusb1,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation {
pname = "airspyhf"; pname = "airspyhf";
version = "1.6.8"; version = "1.6.8-unstable-2025-07-12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "airspy"; owner = "airspy";
repo = "airspyhf"; repo = "airspyhf";
tag = version; rev = "87cf12a30f3a0f10f313aab8e54999ca69b753af";
hash = "sha256-RKTMEDPeKcerJZtXTn8eAShxDcZUMgeQg/+7pEpMyVg="; hash = "sha256-7bXBv4YTOaWRFI6Svb9/lSBEAssUgJMqxKM5zHk1swM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -29,7 +29,10 @@ stdenv.mkDerivation rec {
description = "User mode driver for Airspy HF+"; description = "User mode driver for Airspy HF+";
homepage = "https://github.com/airspy/airspyhf"; homepage = "https://github.com/airspy/airspyhf";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ sikmir ]; maintainers = with maintainers; [
aciceri
sikmir
];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@@ -24,17 +24,23 @@ stdenv.mkDerivation rec {
cmake cmake
pkg-config pkg-config
]; ];
buildInputs = [ buildInputs = [
libpng libpng
libsndfile libsndfile
]; ];
cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10") ];
meta = with lib; { meta = with lib; {
description = "NOAA APT satellite imagery decoding library"; description = "NOAA APT satellite imagery decoding library";
mainProgram = "aptdec"; mainProgram = "aptdec";
homepage = "https://github.com/Xerbo/aptdec"; homepage = "https://github.com/Xerbo/aptdec";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ alexwinter ]; maintainers = with maintainers; [
aciceri
alexwinter
];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@@ -2,32 +2,21 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
cmake, cmake,
boost, boost,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cm256cc"; pname = "cm256cc";
version = "1.1.0"; version = "1.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "f4exb"; owner = "f4exb";
repo = "cm256cc"; repo = "cm256cc";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-T7ZUVVYGdzAialse//MoqWCVNBpbZvzWMAKc0cw7O9k="; hash = "sha256-sAbc8yieGolV8lowiwFBVsd1HNYl1oxJwIw1kc3iI3U=";
}; };
patches = [
# Pull fix pending upstream inclusion for gcc-13 support:
# https://github.com/f4exb/cm256cc/pull/18
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/f4exb/cm256cc/commit/a7f142bcdae8be1c646d67176ba0ba0f7e8dcd68.patch";
hash = "sha256-J7bm44sqnGsdPhJxQrE8LDxZ6tkTzLslHQnnKmtgrtM=";
})
];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ boost ]; buildInputs = [ boost ];
@@ -41,7 +30,10 @@ stdenv.mkDerivation rec {
description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++"; description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
homepage = "https://github.com/f4exb/cm256cc"; homepage = "https://github.com/f4exb/cm256cc";
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ alkeryn ]; maintainers = with maintainers; [
aciceri
alkeryn
];
license = licenses.gpl3; license = licenses.gpl3;
}; };
} }

View File

@@ -22,6 +22,8 @@ stdenv.mkDerivation (finalAttrs: {
sourceRoot = "${finalAttrs.src.name}/library"; sourceRoot = "${finalAttrs.src.name}/library";
cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10") ];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
@@ -36,7 +38,10 @@ stdenv.mkDerivation (finalAttrs: {
description = "DAB/DAB+ decoding library"; description = "DAB/DAB+ decoding library";
homepage = "https://github.com/JvanKatwijk/dab-cmdline"; homepage = "https://github.com/JvanKatwijk/dab-cmdline";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ alexwinter ]; maintainers = with maintainers; [
aciceri
alexwinter
];
platforms = platforms.unix; platforms = platforms.unix;
}; };
}) })

View File

@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10") ];
doCheck = true; doCheck = true;
meta = with lib; { meta = with lib; {
@@ -25,6 +27,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/szechyjs/mbelib"; homepage = "https://github.com/szechyjs/mbelib";
license = licenses.isc; license = licenses.isc;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = [ ]; maintainers = [ lib.maintainers.aciceri ];
}; };
} }

View File

@@ -122,6 +122,7 @@ stdenv.mkDerivation (finalAttrs: {
SDRangel is an Open Source Qt6 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware. SDRangel is an Open Source Qt6 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
''; '';
maintainers = with lib.maintainers; [ maintainers = with lib.maintainers; [
aciceri
alkeryn alkeryn
Tungsten842 Tungsten842
]; ];