Merge pull request #104147 from sikmir/svkbd

svkbd: init at 0.3
This commit is contained in:
Sandro 2021-04-06 00:33:30 +02:00 committed by GitHub
commit ba334d85df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -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 { };