2020-11-12 23:50:31 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, cmake, pkg-config
|
|
|
|
, qttools, qtx11extras, drumstick
|
|
|
|
, docbook-xsl-nons
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-12 23:50:31 +00:00
|
|
|
mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "vmpk";
|
2023-03-27 19:17:25 +00:00
|
|
|
version = "0.8.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-08-20 17:08:02 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
|
2023-03-27 19:17:25 +00:00
|
|
|
sha256 = "sha256-+NjTcszb1KXGynIcCf4IEDvN4f8pgXtR1TksxGR5ZHQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-12 23:50:31 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools docbook-xsl-nons ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
buildInputs = [ drumstick qtx11extras ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
# vmpk drumstickLocales looks here:
|
|
|
|
ln -s ${drumstick}/share/drumstick $out/share/
|
|
|
|
'';
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2020-11-12 23:50:31 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
description = "Virtual MIDI Piano Keyboard";
|
|
|
|
homepage = "http://vmpk.sourceforge.net/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|