Unverified Commit 5b0cc63f authored by dish's avatar dish Committed by GitHub
Browse files

kmidimon: init at 1.4.1 (#383204)

parents 301554c4 507dc276
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -21158,6 +21158,13 @@
    githubId = 2141853;
    name = "Bang Lee";
  };
  qweered = {
    email = "grubian2@gmail.com";
    github = "qweered";
    githubId = 41731334;
    name = "Aliaksandr Samatyia";
    keys = [ { fingerprint = "4D3C 1993 340D 0ACE F6AF  1903 CACB 28BA 93CE 71A2"; } ];
  };
  qxrein = {
    email = "mnv07@proton.me";
    github = "qxrein";
+54 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  stdenv,
  nix-update-script,
  qt6,
  qt6Packages,
  cmake,
  alsa-lib,
  pandoc,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "kmidimon";
  version = "1.4.1";
  src = fetchFromGitHub {
    owner = "pedrolcl";
    repo = "kmidimon";
    tag = "RELEASE_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
    hash = "sha256-cITRv/k7NJvTPJYNjDXb21ctr69ThIJppmBwrmj7O74=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    cmake
    qt6.wrapQtAppsHook
    pandoc
  ];

  buildInputs = [
    qt6.qtbase
    qt6.qttools
    qt6.qt5compat
    qt6Packages.drumstick
    alsa-lib
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Drumstick MIDI Monitor";
    longDescription = ''
      Drumstick MIDI Monitor logs MIDI events coming from MIDI external ports or
      applications via the ALSA sequencer, and from SMF (Standard MIDI files) or
      WRK (Cakewalk/Sonar) files. It is especially useful for debugging MIDI
      software or your MIDI setup.
    '';
    homepage = "https://github.com/pedrolcl/kmidimon";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ qweered ];
    platforms = lib.platforms.linux;
  };
})