2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, qttools, which
|
2024-01-25 14:12:00 +00:00
|
|
|
, alsa-lib, libjack2, liblo, qtbase, wrapQtAppsHook
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "seq66";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.99.14";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ahlstromcj";
|
2024-04-21 15:54:59 +00:00
|
|
|
repo = "seq66";
|
2020-09-25 04:45:31 +00:00
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-0xexKu8qQd0HzEHYKMomeoBE1s/tC5T1jzUl+AkhTqY=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config qttools which wrapQtAppsHook ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ alsa-lib libjack2 liblo qtbase ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
2024-04-21 15:54:59 +00:00
|
|
|
for d in libseq66/src libsessions/include libsessions/src seq_qt5/src seq_rtmidi/src; do
|
|
|
|
substituteInPlace "$d/Makefile.am" --replace-fail '$(git_info)' '${version}'
|
2020-09-25 04:45:31 +00:00
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://github.com/ahlstromcj/seq66";
|
|
|
|
description = "Loop based midi sequencer with Qt GUI derived from seq24 and sequencer64";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
2024-01-25 14:12:00 +00:00
|
|
|
mainProgram = "qseq66";
|
2020-09-25 04:45:31 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|