nixpkgs/pkgs/applications/audio/vmpk/default.nix
2021-04-26 21:35:06 +00:00

32 lines
810 B
Nix

{ mkDerivation, lib, fetchurl, cmake, pkg-config
, qttools, qtx11extras, drumstick
, docbook-xsl-nons
}:
mkDerivation rec {
pname = "vmpk";
version = "0.8.2";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
sha256 = "1kv256j13adk4ib7r464gsl4vjhih820bq37ddhqfyfd07wh53a2";
};
nativeBuildInputs = [ cmake pkg-config qttools docbook-xsl-nons ];
buildInputs = [ drumstick qtx11extras ];
postInstall = ''
# vmpk drumstickLocales looks here:
ln -s ${drumstick}/share/drumstick $out/share/
'';
meta = with lib; {
description = "Virtual MIDI Piano Keyboard";
homepage = "http://vmpk.sourceforge.net/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}