nixpkgs/pkgs/applications/audio/giada/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

79 lines
1.2 KiB
Nix
Raw Normal View History

2021-10-04 22:11:33 +00:00
{ lib
, stdenv
, fetchFromGitHub
2023-05-12 01:27:45 +00:00
, fetchpatch
2021-10-04 22:11:33 +00:00
, cmake
, pkg-config
, fltk
2023-05-12 01:27:45 +00:00
, fmt
, rtmidi
, libsamplerate
2023-05-12 01:27:45 +00:00
, libmpg123
, libsndfile
, jack2
, alsa-lib
, libpulseaudio
, libXpm
2023-05-12 01:27:45 +00:00
, libXrandr
2021-10-04 22:11:33 +00:00
, flac
, libogg
, libvorbis
, libopus
2023-05-12 01:27:45 +00:00
, nlohmann_json
}:
2019-11-16 20:30:48 +00:00
stdenv.mkDerivation rec {
pname = "giada";
2024-02-25 15:12:38 +00:00
version = "1.0.0";
2019-11-16 20:30:48 +00:00
src = fetchFromGitHub {
owner = "monocasual";
repo = pname;
2023-08-24 11:43:39 +00:00
rev = version;
2024-02-25 15:12:38 +00:00
sha256 = "sha256-vTOUS9mI4B3yRNnM2dNCH7jgMuD3ztdhe1FMgXUIt58=";
2021-10-04 22:11:33 +00:00
fetchSubmodules = true;
2019-11-16 20:30:48 +00:00
};
env.NIX_CFLAGS_COMPILE = toString [
2021-10-04 22:11:33 +00:00
"-w"
"-Wno-error"
];
cmakeFlags = [
"-DCMAKE_INSTALL_BINDIR=bin"
];
2019-11-16 20:30:48 +00:00
nativeBuildInputs = [
2021-10-04 22:11:33 +00:00
cmake
pkg-config
2019-11-16 20:30:48 +00:00
];
2019-11-16 20:30:48 +00:00
buildInputs = [
2021-10-04 22:11:33 +00:00
rtmidi
2019-11-16 20:30:48 +00:00
fltk
2023-05-12 01:27:45 +00:00
fmt
libmpg123
2019-11-16 20:30:48 +00:00
libsndfile
libsamplerate
2023-05-12 01:27:45 +00:00
nlohmann_json
alsa-lib
2021-10-04 22:11:33 +00:00
libXpm
2019-11-16 20:30:48 +00:00
libpulseaudio
2021-10-04 22:11:33 +00:00
jack2
flac
libogg
libvorbis
libopus
2023-05-12 01:27:45 +00:00
libXrandr
2019-11-16 20:30:48 +00:00
];
meta = with lib; {
2019-11-16 20:30:48 +00:00
description = "A free, minimal, hardcore audio tool for DJs, live performers and electronic musicians";
mainProgram = "giada";
2019-11-16 20:30:48 +00:00
homepage = "https://giadamusic.com/";
license = licenses.gpl3;
2023-08-24 11:43:39 +00:00
maintainers = with maintainers; [ kashw2 ];
2019-11-16 20:30:48 +00:00
platforms = platforms.all;
};
}