raysession: move to by-name/

This commit is contained in:
pancaek
2025-10-20 21:59:27 -07:00
parent 73e26854d1
commit 83581bafc2
2 changed files with 10 additions and 14 deletions

View File

@@ -1,22 +1,20 @@
{ {
lib, lib,
fetchurl, fetchurl,
buildPythonApplication, python3Packages,
libjack2, libjack2,
pyliblo3,
pyqt5,
which, which,
bash, bash,
qt5, qt5,
}: }:
buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "raysession"; pname = "raysession";
version = "0.14.4"; version = "0.14.4";
src = fetchurl { src = fetchurl {
url = "https://github.com/Houston4444/RaySession/releases/download/v${version}/RaySession-${version}-source.tar.gz"; url = "https://github.com/Houston4444/RaySession/releases/download/v${version}/RaySession-${version}-source.tar.gz";
sha256 = "sha256-cr9kqZdqY6Wq+RkzwYxNrb/PLFREKUgWeVNILVUkc7A="; hash = "sha256-cr9kqZdqY6Wq+RkzwYxNrb/PLFREKUgWeVNILVUkc7A=";
}; };
postPatch = '' postPatch = ''
@@ -30,7 +28,7 @@ buildPythonApplication rec {
format = "other"; format = "other";
nativeBuildInputs = [ nativeBuildInputs = [
pyqt5 # pyuic5 and pyrcc5 to build resources. python3Packages.pyqt5 # pyuic5 and pyrcc5 to build resources.
qt5.qttools # lrelease to build translations. qt5.qttools # lrelease to build translations.
which # which to find lrelease. which # which to find lrelease.
qt5.wrapQtAppsHook qt5.wrapQtAppsHook
@@ -40,8 +38,8 @@ buildPythonApplication rec {
bash bash
]; ];
dependencies = [ dependencies = [
pyliblo3 python3Packages.pyliblo3
pyqt5 python3Packages.pyqt5
]; ];
dontWrapQtApps = true; # The program is a python script. dontWrapQtApps = true; # The program is a python script.
@@ -62,11 +60,11 @@ buildPythonApplication rec {
done done
''; '';
meta = with lib; { meta = {
homepage = "https://github.com/Houston4444/RaySession"; homepage = "https://github.com/Houston4444/RaySession";
description = "Session manager for Linux musical programs"; description = "Session manager for Linux musical programs";
license = licenses.gpl2; license = lib.licenses.gpl2;
maintainers = with maintainers; [ orivej ]; maintainers = with lib.maintainers; [ orivej ];
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View File

@@ -3847,8 +3847,6 @@ with pkgs;
pywal = with python3Packages; toPythonApplication pywal; pywal = with python3Packages; toPythonApplication pywal;
raysession = python3Packages.callPackage ../applications/audio/raysession { };
remarshal = with python3Packages; toPythonApplication remarshal; remarshal = with python3Packages; toPythonApplication remarshal;
riseup-vpn = qt6Packages.callPackage ../tools/networking/bitmask-vpn { riseup-vpn = qt6Packages.callPackage ../tools/networking/bitmask-vpn {