nixpkgs-suyu/pkgs/applications/audio/giada/default.nix
2019-12-08 01:25:59 -08:00

43 lines
1 KiB
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook,
fltk, jansson, rtmidi, libsamplerate, libsndfile,
jack2, alsaLib, libpulseaudio,
libXpm, libXinerama, libXcursor }:
stdenv.mkDerivation rec {
pname = "giada";
version = "0.16.0";
src = fetchFromGitHub {
owner = "monocasual";
repo = pname;
rev = "v${version}";
sha256 = "1lbxqa4kwzjdd79whrjgh8li453z4ckkjx4s4qzmrv7aqa2xmfsf";
};
configureFlags = [ "--target=linux" ];
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
fltk
libsndfile
libsamplerate
jansson
rtmidi
libXpm
jack2
alsaLib
libpulseaudio
libXinerama
libXcursor
];
meta = with lib; {
description = "A free, minimal, hardcore audio tool for DJs, live performers and electronic musicians";
homepage = "https://giadamusic.com/";
license = licenses.gpl3;
maintainers = with maintainers; [ petabyteboy ];
platforms = platforms.all;
broken = stdenv.hostPlatform.isAarch64; # produces build failure on aarch64-linux
};
}