depot/third_party/nixpkgs/pkgs/applications/audio/seq66/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

36 lines
1 KiB
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, qttools, which
, alsa-lib, libjack2, liblo, qtbase, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "seq66";
version = "0.99.12";
src = fetchFromGitHub {
owner = "ahlstromcj";
repo = "seq66";
rev = version;
hash = "sha256-+EU0UdmZaDnhN142yR/r0tK1FKBbuFPmde6iSS26Tjo=";
};
nativeBuildInputs = [ autoreconfHook pkg-config qttools which wrapQtAppsHook ];
buildInputs = [ alsa-lib libjack2 liblo qtbase ];
postPatch = ''
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}'
done
'';
enableParallelBuilding = true;
meta = with lib; {
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 ];
mainProgram = "qseq66";
platforms = platforms.linux;
};
}