commit
ba334d85df
2 changed files with 41 additions and 0 deletions
39
pkgs/tools/X11/svkbd/default.nix
Normal file
39
pkgs/tools/X11/svkbd/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, libX11
|
||||
, libXft
|
||||
, libXtst
|
||||
, libXi
|
||||
, libXinerama
|
||||
, layout ? "mobile-intl"
|
||||
}:
|
||||
|
||||
assert lib.assertOneOf "layout" layout [ "mobile-intl" "mobile-plain" "de" "en" "ru" "sh" "arrows" ];
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "svkbd";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.suckless.org/tools/svkbd-${version}.tar.gz";
|
||||
sha256 = "108khx665d7dlzs04iy4g1nw3fyqpy6kd0afrwiapaibgv4xhfsk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libX11 libXft libXtst libXi libXinerama ];
|
||||
|
||||
makeFlags = [ "LAYOUT=${layout}" ];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple Virtual Keyboard";
|
||||
homepage = "https://tools.suckless.org/x/svkbd/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -13311,6 +13311,8 @@ in
|
|||
|
||||
sselp = callPackage ../tools/X11/sselp{ };
|
||||
|
||||
svkbd = callPackage ../tools/X11/svkbd { };
|
||||
|
||||
stm32cubemx = callPackage ../development/tools/misc/stm32cubemx { };
|
||||
|
||||
stm32flash = callPackage ../development/tools/misc/stm32flash { };
|
||||
|
|
Loading…
Reference in a new issue