svkbd: init at 0.2.2

This commit is contained in:
Nikolay Korotkiy 2020-11-18 10:32:46 +03:00
parent 4aacd02d33
commit 5e2d683c18
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
2 changed files with 41 additions and 0 deletions

View 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;
};
}

View File

@ -13197,6 +13197,8 @@ in
sselp = callPackage ../tools/X11/sselp{ };
svkbd = callPackage ../tools/X11/svkbd { };
stm32cubemx = callPackage ../development/tools/misc/stm32cubemx { };
stm32flash = callPackage ../development/tools/misc/stm32flash { };