1 { lib, stdenv, fetchurl, alsa-lib, libX11, makeWrapper, tcl, tk }:
3 stdenv.mkDerivation rec {
8 url = "ftp://ftp.suse.com/pub/people/tiwai/vkeybd/${pname}-${version}.tar.bz2";
9 sha256 = "0107b5j1gf7dwp7qb4w2snj4bqiyps53d66qzl2rwj4jfpakws5a";
12 nativeBuildInputs = [ makeWrapper ];
13 buildInputs = [ alsa-lib libX11 tcl tk ];
17 sed -e "s@/usr/local@$out@" -i Makefile
20 makeFlags = [ "TKLIB=-l${tk.libPrefix}" "TCLLIB=-l${tcl.libPrefix}" ];
23 description = "Virtual MIDI keyboard";
24 homepage = "https://www.alsa-project.org/~tiwai/alsa.html";
25 license = licenses.gpl2Plus;
26 platforms = platforms.linux;