1 { lib, stdenv, fetchFromGitea, makeWrapper, pkg-config, alsa-lib, dbus, libjack2
2 , python3Packages , meson, ninja, gitUpdater }:
4 stdenv.mkDerivation rec {
9 domain = "gitea.ladish.org";
12 rev = "refs/tags/${version}";
13 fetchSubmodules = true;
14 hash = "sha256-PZKGhHmPMf0AucPruOLB9DniM5A3BKdghFCrd5pTzeM=";
17 nativeBuildInputs = [ pkg-config makeWrapper meson ninja ];
18 buildInputs = [ alsa-lib dbus libjack2 ] ++
19 (with python3Packages; [ python dbus-python ]);
22 wrapProgram $out/bin/a2j_control --set PYTHONPATH $PYTHONPATH
23 substituteInPlace $out/bin/a2j --replace "a2j_control" "$out/bin/a2j_control"
26 passthru.updateScript = gitUpdater { };
29 description = "Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system";
30 homepage = "https://a2jmidid.ladish.org/";
31 license = licenses.gpl2Only;
32 maintainers = [ maintainers.goibhniu ];
33 platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ];