Files
nixpkgs/pkgs/by-name/vk/vkeybd/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
891 B
Nix

{
lib,
stdenv,
fetchurl,
alsa-lib,
libX11,
makeWrapper,
tcl,
tk,
}:
stdenv.mkDerivation rec {
pname = "vkeybd";
version = "0.1.18d";
src = fetchurl {
url = "ftp://ftp.suse.com/pub/people/tiwai/vkeybd/${pname}-${version}.tar.bz2";
sha256 = "0107b5j1gf7dwp7qb4w2snj4bqiyps53d66qzl2rwj4jfpakws5a";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
alsa-lib
libX11
tcl
tk
];
configurePhase = ''
runHook preConfigure
mkdir -p $out/bin
sed -e "s@/usr/local@$out@" -i Makefile
runHook postConfigure
'';
makeFlags = [
"TKLIB=-l${tk.libPrefix}"
"TCLLIB=-l${tcl.libPrefix}"
];
meta = with lib; {
description = "Virtual MIDI keyboard";
homepage = "https://www.alsa-project.org/~tiwai/alsa.html";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ ];
};
}