wahjam: init at 1.3.1-unstable-2023-05-30

This commit is contained in:
Casey Avila
2026-05-10 13:45:15 -07:00
parent 3f060303eb
commit dc500a283a
+76
View File
@@ -0,0 +1,76 @@
{
lib,
stdenv,
fetchFromGitHub,
makeDesktopItem,
copyDesktopItems,
pkg-config,
libsForQt5,
libogg,
libvorbis,
libresample,
portaudio,
portmidi,
}:
stdenv.mkDerivation {
pname = "wahjam";
version = "1.3.1-unstable-2023-05-30";
src = fetchFromGitHub {
owner = "wahjam";
repo = "wahjam";
rev = "4fde74da3be1fa53cdc2d3bc4b577b40951d6809";
hash = "sha256-WYfLQxToyjAE+R2eaBKpDJGfkvrOTza8a6JbN9AL3aE=";
};
strictDeps = true;
__structuredAttrs = true;
nativeBuildInputs = [
pkg-config
libsForQt5.qmake
libsForQt5.wrapQtAppsHook
copyDesktopItems
];
buildInputs = [
libsForQt5.qtbase
libsForQt5.qtkeychain
libogg
libvorbis
libresample
portaudio
portmidi
];
desktopItems = [
(makeDesktopItem {
name = "wahjam";
desktopName = "Wahjam";
icon = "net.jammr.jammr";
exec = "wahjam";
comment = "Play with musicians over the internet";
categories = [ "AudioVideo" ];
})
];
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/share/icons/hicolor/scalable/apps
cp qtclient/wahjam $out/bin/wahjam
cp qtclient/net.jammr.jammr.svg $out/share/icons/hicolor/scalable/apps
runHook postInstall
'';
meta = {
description = "Software for musicians to play together over the internet";
mainProgram = "wahjam";
homepage = "https://github.com/wahjam/wahjam";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ caseyavila ];
};
}