mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
librtlsdr: remove
Removing librtlsdr because it's the same exact package as rtl-sdr.
This commit is contained in:
parent
8545b2b098
commit
434bb4d090
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "librtlsdr";
|
||||
repo = "librtlsdr";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fgxlkgmdchbrf0nn98ivjr6css5hak3608nr4xrf2qzf7xy2kdk";
|
||||
hash = "sha256-s03h+3EfC5c7yRYBM6aCRWtmstwRJWuBywuyVt+k/bk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
|
||||
buildInputs = [ libusb1 ];
|
||||
propagatedBuildInputs = [ libusb1 ];
|
||||
|
||||
cmakeFlags = lib.optionals stdenv.isLinux [
|
||||
"-DINSTALL_UDEV_RULES=ON"
|
||||
|
@ -1,39 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, libusb1
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "librtlsdr";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "librtlsdr";
|
||||
repo = "librtlsdr";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-s03h+3EfC5c7yRYBM6aCRWtmstwRJWuBywuyVt+k/bk=";
|
||||
};
|
||||
|
||||
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"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
|
||||
propagatedBuildInputs = [ libusb1 ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Turns your Realtek RTL2832 based DVB dongle into a SDR receiver";
|
||||
homepage = "https://github.com/librtlsdr/librtlsdr";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
@ -814,6 +814,7 @@ mapAliases ({
|
||||
libressl_3_2 = throw "'libressl_3_2' has reached end-of-life "; # Added 2022-03-19
|
||||
librevisa = throw "librevisa has been removed because its website and source have disappeared upstream"; # Added 2022-09-23
|
||||
librsync_0_9 = throw "librsync_0_9 has been removed"; # Added 2021-07-24
|
||||
librtlsdr = rtl-sdr; # Added 2023-02-18
|
||||
librewolf-wayland = librewolf; # Added 2022-11-15
|
||||
libseat = seatd; # Added 2021-06-24
|
||||
libsForQt512 = throw "Qt 5 versions prior to 5.15 are no longer supported upstream and have been removed"; # Added 2022-11-24
|
||||
|
@ -32768,9 +32768,7 @@ with pkgs;
|
||||
|
||||
rtl-ais = callPackage ../applications/radio/rtl-ais { };
|
||||
|
||||
# librtlsdr is a friendly fork with additional features
|
||||
rtl-sdr = callPackage ../applications/radio/rtl-sdr { };
|
||||
librtlsdr = callPackage ../development/libraries/librtlsdr { };
|
||||
|
||||
rubyripper = callPackage ../applications/audio/rubyripper {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user