Skip to content

Commit

Permalink
virtboard: init at unstable-2019-02-22
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Aug 22, 2019
1 parent 3ab257b commit 4bc5288
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
50 changes: 50 additions & 0 deletions pkgs/applications/misc/virtboard/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{ stdenv
, fetchFromGitLab
, meson
, ninja
, pkgconfig
, wrapGAppsHook
, pixman
, libxkbcommon
, libpng
, wayland
, wayland-protocols
, cairo
}:

stdenv.mkDerivation rec {
pname = "virtboard";
version = "unstable-2019-02-22";

src = fetchFromGitLab {
domain = "source.puri.sm";
owner = "Librem5";
repo = pname;
rev = "f36cc2051c878652aa6c5a8e5aa03cc2e1509baf";
sha256 = "0qdfmvq1nsfh2kilvasq9x0cqdm4w09pqpbf3p52k4yqyk4fk5kx";
};

nativeBuildInputs = [
meson
ninja
pkgconfig
wrapGAppsHook
];

buildInputs = [
pixman
libxkbcommon
libpng
wayland
wayland-protocols
cairo
];

meta = with stdenv.lib; {
description = "A basic keyboard, blazing the path of modern Wayland keyboards";
homepage = https://source.puri.sm/Librem5/virtboard;
license = licenses.mit;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1834,6 +1834,8 @@ in

onboard = callPackage ../applications/misc/onboard { };

virtboard = callPackage ../applications/misc/virtboard { };

xkbd = callPackage ../applications/misc/xkbd { };

optar = callPackage ../tools/graphics/optar {};
Expand Down

0 comments on commit 4bc5288

Please sign in to comment.