Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2d9689351c5e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: de1a5679d725
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Apr 26, 2021

  1. drumstick: 1.1.3 -> 2.1.1

    orivej committed Apr 26, 2021
    Copy the full SHA
    1cf7f3c View commit details
  2. kmetronome: 1.0.1 -> 1.2.0

    orivej committed Apr 26, 2021
    Copy the full SHA
    90620b1 View commit details
  3. vmpk: 0.7.2 -> 0.8.2

    orivej committed Apr 26, 2021
    1
    Copy the full SHA
    de1a567 View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/audio/kmetronome/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "kmetronome";
version = "1.0.1";
version = "1.2.0";

src = fetchurl {
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
sha256 = "0bzm6vzlm32kjrgn1nvp096b2d41ybys2sk145nhy992wg56v32s";
sha256 = "1ln0nm24w6bj7wc8cay08j5azzznigd39cbbw3h4skg6fxd8p0s7";
};

nativeBuildInputs = [ cmake pkg-config qttools ];
11 changes: 8 additions & 3 deletions pkgs/applications/audio/vmpk/default.nix
Original file line number Diff line number Diff line change
@@ -5,16 +5,21 @@

mkDerivation rec {
pname = "vmpk";
version = "0.7.2";
version = "0.8.2";

src = fetchurl {
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
sha256 = "5oLrjQADg59Mxpb0CNLQAE574IOSYLDLJNaQ/9q2cMQ=";
sha256 = "1kv256j13adk4ib7r464gsl4vjhih820bq37ddhqfyfd07wh53a2";
};

nativeBuildInputs = [ cmake pkg-config qttools docbook-xsl-nons ];

buildInputs = [ qtx11extras drumstick ];
buildInputs = [ drumstick qtx11extras ];

postInstall = ''
# vmpk drumstickLocales looks here:
ln -s ${drumstick}/share/drumstick $out/share/
'';

meta = with lib; {
description = "Virtual MIDI Piano Keyboard";
13 changes: 8 additions & 5 deletions pkgs/development/libraries/drumstick/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{ lib, stdenv, fetchurl
, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, pkg-config, wrapQtAppsHook
, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, graphviz-nox, pkg-config, qttools, wrapQtAppsHook
, alsaLib, fluidsynth, qtbase, qtsvg, libpulseaudio
}:

stdenv.mkDerivation rec {
pname = "drumstick";
version = "1.1.3";
version = "2.1.1";

src = fetchurl {
url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2";
sha256 = "1n9wvg79yvkygrkc8xd8pgrd3d7hqmr7gh24dccf0px23lla9b3m";
sha256 = "06lz4kzpgg5lalcjb14pi35jxca5f4j6ckqf6mdxs1k42dfhjpjp";
};

patches = [
./drumstick-fluidsynth.patch
./drumstick-plugins.patch
];

@@ -24,13 +23,17 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "man" ];

nativeBuildInputs = [
cmake docbook_xml_dtd_45 docbook_xml_dtd_45 docbook_xsl doxygen pkg-config wrapQtAppsHook
cmake docbook_xml_dtd_45 docbook_xml_dtd_45 docbook_xsl doxygen graphviz-nox pkg-config qttools wrapQtAppsHook
];

buildInputs = [
alsaLib fluidsynth libpulseaudio qtbase qtsvg
];

cmakeFlags = [
"-DUSE_DBUS=ON"
];

meta = with lib; {
maintainers = with maintainers; [ solson ];
description = "MIDI libraries for Qt5/C++";

This file was deleted.

4 changes: 3 additions & 1 deletion pkgs/development/libraries/drumstick/drumstick-plugins.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
Make it look for its plugin in its own installation directory.

Without this vmpk fails to start with "Unable to initialize all MIDI drivers".

--- a/library/rt/backendmanager.cpp
+++ b/library/rt/backendmanager.cpp
@@ -159,6 +159,7 @@ namespace rt {
foreach(const QString& path, QCoreApplication::libraryPaths()) {
d->appendDir( path + QDir::separator() + QSTR_DRUMSTICK, result );
}
+ d->appendDir( "@out@/lib/drumstick", result );
+ d->appendDir( "@out@/lib/" + QSTR_DRUMSTICK, result );
return result;
}