sdrangel: migrate to by-name and self-contain callpackage.
This commit is contained in:
parent
aca3b8acd1
commit
05878506d1
@ -30,25 +30,14 @@
|
|||||||
ninja,
|
ninja,
|
||||||
opencv4,
|
opencv4,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
qt5compat,
|
qt6,
|
||||||
qtcharts,
|
qt6Packages,
|
||||||
qtdeclarative,
|
|
||||||
qtlocation,
|
|
||||||
qtmultimedia,
|
|
||||||
qtscxml,
|
|
||||||
qtserialport,
|
|
||||||
qtspeech,
|
|
||||||
qttools,
|
|
||||||
qtwayland,
|
|
||||||
qtwebsockets,
|
|
||||||
qtwebengine,
|
|
||||||
rtl-sdr,
|
rtl-sdr,
|
||||||
serialdv,
|
serialdv,
|
||||||
sdrplay,
|
sdrplay,
|
||||||
sgp4,
|
sgp4,
|
||||||
soapysdr-with-plugins,
|
soapysdr-with-plugins,
|
||||||
uhd,
|
uhd,
|
||||||
wrapQtAppsHook,
|
|
||||||
zlib,
|
zlib,
|
||||||
withSDRplay ? false,
|
withSDRplay ? false,
|
||||||
}:
|
}:
|
||||||
@ -60,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "f4exb";
|
owner = "f4exb";
|
||||||
repo = "sdrangel";
|
repo = "sdrangel";
|
||||||
rev = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-ymDKHGJNoCOMa1zzFvjTzFa34wP1+iKSfJZZi7Sk/GM=";
|
hash = "sha256-ymDKHGJNoCOMa1zzFvjTzFa34wP1+iKSfJZZi7Sk/GM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -68,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
wrapQtAppsHook
|
qt6.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -96,17 +85,17 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
limesuite
|
limesuite
|
||||||
mbelib
|
mbelib
|
||||||
opencv4
|
opencv4
|
||||||
qt5compat
|
qt6Packages.qt5compat
|
||||||
qtcharts
|
qt6Packages.qtcharts
|
||||||
qtdeclarative
|
qt6Packages.qtdeclarative
|
||||||
qtlocation
|
qt6Packages.qtlocation
|
||||||
qtmultimedia
|
qt6Packages.qtmultimedia
|
||||||
qtscxml
|
qt6Packages.qtscxml
|
||||||
qtserialport
|
qt6Packages.qtserialport
|
||||||
qtspeech
|
qt6Packages.qtspeech
|
||||||
qttools
|
qt6Packages.qttools
|
||||||
qtwebsockets
|
qt6Packages.qtwebsockets
|
||||||
qtwebengine
|
qt6Packages.qtwebengine
|
||||||
rtl-sdr
|
rtl-sdr
|
||||||
serialdv
|
serialdv
|
||||||
sgp4
|
sgp4
|
||||||
@ -114,7 +103,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
uhd
|
uhd
|
||||||
zlib
|
zlib
|
||||||
]
|
]
|
||||||
++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ]
|
++ lib.optionals stdenv.hostPlatform.isLinux [ qt6Packages.qtwayland ]
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_12 ]
|
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_12 ]
|
||||||
++ lib.optionals withSDRplay [ sdrplay ];
|
++ lib.optionals withSDRplay [ sdrplay ];
|
||||||
|
|
@ -11238,8 +11238,6 @@ with pkgs;
|
|||||||
|
|
||||||
sddm-sugar-dark = libsForQt5.callPackage ../data/themes/sddm-sugar-dark { };
|
sddm-sugar-dark = libsForQt5.callPackage ../data/themes/sddm-sugar-dark { };
|
||||||
|
|
||||||
sdrangel = qt6Packages.callPackage ../applications/radio/sdrangel { };
|
|
||||||
|
|
||||||
sgx-sdk = callPackage ../os-specific/linux/sgx/sdk { };
|
sgx-sdk = callPackage ../os-specific/linux/sgx/sdk { };
|
||||||
|
|
||||||
sgx-psw = callPackage ../os-specific/linux/sgx/psw {
|
sgx-psw = callPackage ../os-specific/linux/sgx/psw {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user