wahjam: init at 1.3.1-unstable-2023-05-30 (#515713)
This commit is contained in:
@@ -4530,6 +4530,12 @@
|
||||
githubId = 1945;
|
||||
name = "Casey Rodarmor";
|
||||
};
|
||||
caseyavila = {
|
||||
email = "casey@theavilas.org";
|
||||
github = "caseyavila";
|
||||
githubId = 53847249;
|
||||
name = "Casey Avila";
|
||||
};
|
||||
catap = {
|
||||
email = "kirill@korins.ky";
|
||||
github = "catap";
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user