noson: modernize, move to by-name/
This commit is contained in:
@@ -5,11 +5,7 @@
|
||||
cmake,
|
||||
flac,
|
||||
libpulseaudio,
|
||||
qtbase,
|
||||
qtgraphicaleffects,
|
||||
qtquickcontrols2,
|
||||
qtwayland,
|
||||
wrapQtAppsHook,
|
||||
libsForQt5,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
@@ -20,25 +16,25 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "janbar";
|
||||
repo = "noson-app";
|
||||
rev = finalAttrs.version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-XJBkPhyDPeyVrcY5Q5W9LtESuVxcbcQ8JoyOzKg+0NU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
wrapQtAppsHook
|
||||
libsForQt5.wrapQtAppsHook
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
flac
|
||||
libpulseaudio
|
||||
qtbase
|
||||
qtgraphicaleffects
|
||||
qtquickcontrols2
|
||||
libsForQt5.qtbase
|
||||
libsForQt5.qtgraphicaleffects
|
||||
libsForQt5.qtquickcontrols2
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
qtwayland
|
||||
libsForQt5.qtwayland
|
||||
];
|
||||
|
||||
# wrapQtAppsHook doesn't automatically find noson-gui
|
||||
@@ -49,12 +45,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
wrapQtApp "$out/lib/noson/noson-gui"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "SONOS controller for Linux (and macOS)";
|
||||
homepage = "https://janbar.github.io/noson-app/";
|
||||
mainProgram = "noson-app";
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
license = [ licenses.gpl3Only ];
|
||||
maintainers = with maintainers; [ callahad ];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ callahad ];
|
||||
};
|
||||
})
|
||||
@@ -11403,8 +11403,6 @@ with pkgs;
|
||||
|
||||
mt32emu-qt = libsForQt5.callPackage ../applications/audio/munt/mt32emu-qt.nix { };
|
||||
|
||||
noson = libsForQt5.callPackage ../applications/audio/noson { };
|
||||
|
||||
pass2csv = python3Packages.callPackage ../tools/security/pass2csv { };
|
||||
|
||||
pinboard = with python3Packages; toPythonApplication pinboard;
|
||||
|
||||
Reference in New Issue
Block a user