Skip to content

Instantly share code, notes, and snippets.

@dubiouscript
Created January 1, 2019 11:08
Show Gist options
  • Save dubiouscript/24795319058788e7d03e56781a401156 to your computer and use it in GitHub Desktop.
Save dubiouscript/24795319058788e7d03e56781a401156 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "helio-workstation";
version = "e5b39bf9efa66d75d93b82c9bdc8abbeb509cd6b";
src = fetchFromGitHub {
owner = "helio-fm";
repo = "helio-workstation";
rev = "${version}";
fetchSubmodules = true;
sha256 = "0c97gwxl908qq8xki4zkjms0sfrjarl534x54jwsr8wxndv8rviy";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
alsaLib freetype xorg.libX11 xorg.libXext xorg.libXinerama xorg.libXrandr xorg.libXcursor xorg.libXcomposite curl libGL libjack2
];
preBuild = "cd Projects/LinuxMakefile";
buildFlags = [ "CONFIG=Release64" ];
installPhase = ''
mkdir -p $out/bin
install -m +x build/Helio $out/bin
'';
meta = with stdenv.lib; {
description = "One music sequencer for all major platforms, both desktop and mobile";
homepage = https://helio.fm/;
license = licenses.gpl3;
maintainers = [ ];
platforms = platforms.linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment