Merge pull request #298134 from jopejoe1/updates/a2jmidid/12

a2jmidid: 9 -> 12

authored by lassulus and committed by GitHub 7b672175 fabc8151

+14 -9
+14 -9
pkgs/applications/audio/a2jmidid/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, makeWrapper, pkg-config, alsa-lib, dbus, libjack2 2 - , python3Packages , meson, ninja }: 1 + { lib, stdenv, fetchFromGitea, makeWrapper, pkg-config, alsa-lib, dbus, libjack2 2 + , python3Packages , meson, ninja, gitUpdater }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "a2jmidid"; 6 - version = "9"; 6 + version = "12"; 7 7 8 - src = fetchFromGitHub { 9 - owner = "linuxaudio"; 10 - repo = pname; 11 - rev = version; 12 - sha256 = "sha256-WNt74tSWV8bY4TnpLp86PsnrjkqWynJJt3Ra4gZl2fQ="; 8 + src = fetchFromGitea { 9 + domain = "gitea.ladish.org"; 10 + owner = "LADI"; 11 + repo = "a2jmidid"; 12 + rev = "refs/tags/${version}"; 13 + fetchSubmodules = true; 14 + hash = "sha256-PZKGhHmPMf0AucPruOLB9DniM5A3BKdghFCrd5pTzeM="; 13 15 }; 14 16 15 17 nativeBuildInputs = [ pkg-config makeWrapper meson ninja ]; ··· 21 23 substituteInPlace $out/bin/a2j --replace "a2j_control" "$out/bin/a2j_control" 22 24 ''; 23 25 26 + passthru.updateScript = gitUpdater { }; 27 + 24 28 meta = with lib; { 25 29 description = "Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system"; 26 - license = licenses.gpl2; 30 + homepage = "https://a2jmidid.ladish.org/"; 31 + license = licenses.gpl2Only; 27 32 maintainers = [ maintainers.goibhniu ]; 28 33 platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ]; 29 34 };