nixpkgs/pkgs/applications/audio/vmpk/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
809 B
Nix
Raw Normal View History

{ mkDerivation, lib, fetchurl, cmake, pkg-config
, qttools, qtx11extras, drumstick
, docbook-xsl-nons
}:
mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "vmpk";
2022-08-02 06:59:28 +00:00
version = "0.8.7";
src = fetchurl {
2020-08-09 09:48:23 +00:00
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
2022-08-02 06:59:28 +00:00
sha256 = "sha256-0y1XS+I3bmNrJ65LT0LyTd8aSLXVlVZFFDZwgxVDLGk=";
};
nativeBuildInputs = [ cmake pkg-config qttools docbook-xsl-nons ];
2021-04-26 21:18:44 +00:00
buildInputs = [ drumstick qtx11extras ];
postInstall = ''
# vmpk drumstickLocales looks here:
ln -s ${drumstick}/share/drumstick $out/share/
'';
2020-08-09 09:48:23 +00:00
meta = with lib; {
2020-08-09 09:48:23 +00:00
description = "Virtual MIDI Piano Keyboard";
homepage = "http://vmpk.sourceforge.net/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}