vmpk: fix build

This commit is contained in:
Orivej Desh 2020-08-09 09:48:23 +00:00
parent 86c9e2c08e
commit 96069f7d89

View File

@ -1,26 +1,23 @@
{ stdenv, fetchurl, cmake, pkgconfig
, qt4, libjack2
}:
{ stdenv, fetchurl, cmake, pkgconfig, alsaLib, libjack2, qt4 }:
let
version = "0.5.1";
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "vmpk";
inherit version;
meta = with stdenv.lib; {
description = "Virtual MIDI Piano Keyboard";
homepage = "http://vmpk.sourceforge.net/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
version = "0.5.1";
src = fetchurl {
url = "mirror://sourceforge/vmpk/${version}/${pname}-${version}.tar.bz2";
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
sha256 = "11fqnxgs9hr9255d93n7lazxzjwn8jpmn23nywdksh0pb1ffvfrc";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ qt4 libjack2 ];
buildInputs = [ alsaLib libjack2 qt4 ];
meta = with stdenv.lib; {
description = "Virtual MIDI Piano Keyboard";
homepage = "http://vmpk.sourceforge.net/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}