Unverified Commit 0198d4b8 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

sdrangel: fix build (#449871)

parents 789794cc 7d0808ab
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -7,15 +7,15 @@
  libusb1,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation {
  pname = "airspyhf";
  version = "1.6.8";
  version = "1.6.8-unstable-2025-07-12";

  src = fetchFromGitHub {
    owner = "airspy";
    repo = "airspyhf";
    tag = version;
    hash = "sha256-RKTMEDPeKcerJZtXTn8eAShxDcZUMgeQg/+7pEpMyVg=";
    rev = "87cf12a30f3a0f10f313aab8e54999ca69b753af";
    hash = "sha256-7bXBv4YTOaWRFI6Svb9/lSBEAssUgJMqxKM5zHk1swM=";
  };

  nativeBuildInputs = [
@@ -29,7 +29,10 @@ stdenv.mkDerivation rec {
    description = "User mode driver for Airspy HF+";
    homepage = "https://github.com/airspy/airspyhf";
    license = licenses.bsd3;
    maintainers = with maintainers; [ sikmir ];
    maintainers = with maintainers; [
      aciceri
      sikmir
    ];
    platforms = platforms.unix;
  };
}
+7 −1
Original line number Diff line number Diff line
@@ -24,17 +24,23 @@ stdenv.mkDerivation rec {
    cmake
    pkg-config
  ];

  buildInputs = [
    libpng
    libsndfile
  ];

  cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10") ];

  meta = with lib; {
    description = "NOAA APT satellite imagery decoding library";
    mainProgram = "aptdec";
    homepage = "https://github.com/Xerbo/aptdec";
    license = licenses.gpl2;
    maintainers = with maintainers; [ alexwinter ];
    maintainers = with maintainers; [
      aciceri
      alexwinter
    ];
    platforms = platforms.unix;
  };
}
+6 −14
Original line number Diff line number Diff line
@@ -2,32 +2,21 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  boost,
}:

stdenv.mkDerivation rec {
  pname = "cm256cc";
  version = "1.1.0";
  version = "1.1.2";

  src = fetchFromGitHub {
    owner = "f4exb";
    repo = "cm256cc";
    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 ];
  buildInputs = [ boost ];

@@ -41,7 +30,10 @@ stdenv.mkDerivation rec {
    description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
    homepage = "https://github.com/f4exb/cm256cc";
    platforms = platforms.unix;
    maintainers = with maintainers; [ alkeryn ];
    maintainers = with maintainers; [
      aciceri
      alkeryn
    ];
    license = licenses.gpl3;
  };
}
+6 −1
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@ stdenv.mkDerivation (finalAttrs: {

  sourceRoot = "${finalAttrs.src.name}/library";

  cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10") ];

  nativeBuildInputs = [
    cmake
    pkg-config
@@ -36,7 +38,10 @@ stdenv.mkDerivation (finalAttrs: {
    description = "DAB/DAB+ decoding library";
    homepage = "https://github.com/JvanKatwijk/dab-cmdline";
    license = licenses.gpl2;
    maintainers = with maintainers; [ alexwinter ];
    maintainers = with maintainers; [
      aciceri
      alexwinter
    ];
    platforms = platforms.unix;
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ cmake ];

  cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10") ];

  doCheck = true;

  meta = with lib; {
@@ -25,6 +27,6 @@ stdenv.mkDerivation rec {
    homepage = "https://github.com/szechyjs/mbelib";
    license = licenses.isc;
    platforms = platforms.unix;
    maintainers = [ ];
    maintainers = [ lib.maintainers.aciceri ];
  };
}
Loading