From cb0b0e93a380d85d901b056b5df3570841899678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=C3=A4ssler?= Date: Sat, 16 Nov 2019 21:30:48 +0100 Subject: [PATCH] giada: init at 0.15.4 --- pkgs/applications/audio/giada/default.nix | 43 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 45 insertions(+) create mode 100644 pkgs/applications/audio/giada/default.nix diff --git a/pkgs/applications/audio/giada/default.nix b/pkgs/applications/audio/giada/default.nix new file mode 100644 index 000000000000..3c32365b97f5 --- /dev/null +++ b/pkgs/applications/audio/giada/default.nix @@ -0,0 +1,43 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, + fltk, jansson, rtmidi, libsamplerate, libsndfile, + jack2, alsaLib, libpulseaudio, + libXpm, libXinerama, libXcursor }: + +stdenv.mkDerivation rec { + pname = "giada"; + version = "0.15.4"; + + src = fetchFromGitHub { + owner = "monocasual"; + repo = pname; + rev = "v${version}"; + sha256 = "0a5lqzxs417alpjr42q5197v6dwgrc74434znszk4lfhivr88p8v"; + }; + + 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 + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8b02d3e29da8..9b7d077ac005 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19021,6 +19021,8 @@ in svox = callPackage ../applications/audio/svox { }; + giada = callPackage ../applications/audio/giada {}; + gkrellm = callPackage ../applications/misc/gkrellm { inherit (darwin) IOKit; };