Compare commits
2 commits
0a2d2deb40
...
983385bec3
Author | SHA1 | Date | |
---|---|---|---|
983385bec3 | |||
81158bfc49 |
2 changed files with 18 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Packages
|
# Packages
|
||||||
| Name | Package | Description |
|
| Name | Package | Description |
|
||||||
|-------------------|-------------------|-----------------------------------------------------------------------------------------|
|
|-------------------|-------------------|-----------------------------------------------------------------------------------------|
|
||||||
|
| AudioRelay | audiorelay | Application to stream every sound from your PC to one or multiple Android devices |
|
||||||
| Compile optimized | compileOptimized | Utility function for compiling packages with custom compile flags aimed at optimization |
|
| Compile optimized | compileOptimized | Utility function for compiling packages with custom compile flags aimed at optimization |
|
||||||
| VSCode extensions | vscode-extensions | Collection of VSCode extensions not found in nixpkgs |
|
| VSCode extensions | vscode-extensions | Collection of VSCode extensions not found in nixpkgs |
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchzip,
|
fetchzip,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
|
makeDesktopItem,
|
||||||
temurin-bin-17,
|
temurin-bin-17,
|
||||||
zip,
|
zip,
|
||||||
|
|
||||||
|
@ -30,6 +31,19 @@ let
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
];
|
];
|
||||||
|
|
||||||
|
desktopItem = makeDesktopItem {
|
||||||
|
name = "audiorelay";
|
||||||
|
|
||||||
|
desktopName = "AudioRelay";
|
||||||
|
comment = "Stream audio between your devices";
|
||||||
|
categories = [ "AudioVideo" "Audio" "Network" ];
|
||||||
|
icon = "audiorelay";
|
||||||
|
exec = "audiorelay";
|
||||||
|
|
||||||
|
startupNotify = true;
|
||||||
|
startupWMClass = "com-azefsw-audioconnect-desktop-app-MainKt";
|
||||||
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -58,6 +72,9 @@ stdenv.mkDerivation {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/share/applications
|
||||||
|
cp ${desktopItem}/share/applications/audiorelay.desktop $out/share/applications
|
||||||
|
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
cp lib/app/audiorelay.jar $out/lib
|
cp lib/app/audiorelay.jar $out/lib
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue