rtl_fm_streamer: unstable-2021-06-08 -> 0-unstable-2026-05-23 (#523588)
This commit is contained in:
@@ -6,34 +6,20 @@
|
||||
pkg-config,
|
||||
libusb1,
|
||||
libev,
|
||||
rtl-sdr,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rtl_fm_streamer";
|
||||
version = "unstable-2021-06-08";
|
||||
version = "0-unstable-2026-05-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AlbrechtL";
|
||||
repo = "rtl_fm_streamer";
|
||||
rev = "ceb2bf06883f986ed01aa57c84989ba35b6b9a27";
|
||||
hash = "sha256-9M7GS6AC7HEJge04vl7V6ZdtwWvbMu/Rhaf9fwQa9WA=";
|
||||
rev = "7d98bcee154be86b772ab9440bc65361ac2cad67";
|
||||
hash = "sha256-IlZcxu9JMaiqY+Vu6Bv14JxpQeJqytugW4mAvS0qIKY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace '/etc/udev/rules.d' "$out/etc/udev/rules.d"
|
||||
|
||||
substituteInPlace rtl-sdr.rules \
|
||||
--replace 'MODE:="0666"' 'ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"'
|
||||
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
patches = [
|
||||
./use-stdbool.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
@@ -42,6 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
libusb1
|
||||
libev
|
||||
rtl-sdr
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
@@ -55,6 +42,5 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://github.com/AlbrechtL/rtl_fm_streamer";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user