mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #65238 from suhr/helio
helio-workstation: init at 2.2
This commit is contained in:
commit
3f884a1323
46
pkgs/applications/audio/helio-workstation/default.nix
Normal file
46
pkgs/applications/audio/helio-workstation/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, alsaLib, freetype, xorg, curl, libGL, libjack2, gnome3
|
||||
, pkgconfig, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "helio-workstation";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "helio-fm";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
fetchSubmodules = true;
|
||||
sha256 = "16iwj4mjs1nm8dlk70q97svp3vkcgs7hdj9hfda9h67acn4a8vvk";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsaLib freetype xorg.libX11 xorg.libXext xorg.libXinerama xorg.libXrandr
|
||||
xorg.libXcursor xorg.libXcomposite curl libGL libjack2 gnome3.zenity
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||
|
||||
preBuild = "cd Projects/LinuxMakefile";
|
||||
buildFlags = [ "CONFIG=Release64" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
install -Dm755 build/Helio $out/bin
|
||||
wrapProgram $out/bin/Helio --prefix PATH ":" ${gnome3.zenity}/bin
|
||||
|
||||
mkdir -p $out/share
|
||||
cp -r ../Deployment/Linux/Debian/x64/usr/share/* $out/share
|
||||
substituteInPlace $out/share/applications/Helio.desktop \
|
||||
--replace "/usr/bin/helio" "$out/bin/Helio"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "One music sequencer for all major platforms, both desktop and mobile";
|
||||
homepage = https://helio.fm/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.suhr ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
@ -3674,6 +3674,8 @@ in
|
||||
|
||||
heimdall-gui = heimdall.override { enableGUI = true; };
|
||||
|
||||
helio-workstation = callPackage ../applications/audio/helio-workstation { };
|
||||
|
||||
hevea = callPackage ../tools/typesetting/hevea { };
|
||||
|
||||
hexd = callPackage ../tools/misc/hexd { };
|
||||
|
Loading…
Reference in New Issue
Block a user