mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
svkbd: init at 0.2.2
This commit is contained in:
parent
4aacd02d33
commit
5e2d683c18
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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user