2020-11-02 19:14:57 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, cmake, pkg-config
|
|
|
|
, qttools, qtx11extras, drumstick
|
|
|
|
, docbook-xsl-nons
|
|
|
|
}:
|
2014-03-15 05:13:25 +00:00
|
|
|
|
2020-11-02 19:14:57 +00:00
|
|
|
mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "vmpk";
|
2022-02-26 01:52:13 +00:00
|
|
|
version = "0.8.6";
|
2014-03-15 05:13:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-08-09 10:48:23 +01:00
|
|
|
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
|
2022-02-26 01:52:13 +00:00
|
|
|
sha256 = "sha256-cwfJJVeUokyZI1iGvqBvXjcBR36VGodzrUx5Atv3POM=";
|
2014-03-15 05:13:25 +00:00
|
|
|
};
|
|
|
|
|
2020-11-02 19:14:57 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools docbook-xsl-nons ];
|
2014-03-15 05:13:25 +00:00
|
|
|
|
2021-04-26 22:18:44 +01:00
|
|
|
buildInputs = [ drumstick qtx11extras ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
# vmpk drumstickLocales looks here:
|
|
|
|
ln -s ${drumstick}/share/drumstick $out/share/
|
|
|
|
'';
|
2020-08-09 10:48:23 +01:00
|
|
|
|
2020-11-02 19:14:57 +00:00
|
|
|
meta = with lib; {
|
2020-08-09 10:48:23 +01:00
|
|
|
description = "Virtual MIDI Piano Keyboard";
|
|
|
|
homepage = "http://vmpk.sourceforge.net/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2014-03-15 05:13:25 +00:00
|
|
|
}
|