Merge pull request #116253 from Artturin/add-squeekboard

squeekboard: init at unstable-2021-03-09

authored by

Sandro and committed by
GitHub
bb46a6eb 77297a75

+72
+70
pkgs/applications/accessibility/squeekboard/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , gnome3 8 + , glib 9 + , gtk3 10 + , wayland 11 + , wayland-protocols 12 + , libxml2 13 + , libxkbcommon 14 + , rustPlatform 15 + , feedbackd 16 + , wrapGAppsHook 17 + }: 18 + 19 + stdenv.mkDerivation rec { 20 + pname = "squeekboard"; 21 + version = "unstable-2021-03-09"; 22 + 23 + src = fetchFromGitLab { 24 + domain = "source.puri.sm"; 25 + owner = "Librem5"; 26 + repo = pname; 27 + rev = "bffd212e102bf71a94c599aac0359a8d30d19008"; 28 + sha256 = "1j10zhyb8wyrcbryfj6f3drn9b0l9x0l7hnhy2imnjbfbnwwm4w7"; 29 + }; 30 + 31 + cargoDeps = rustPlatform.fetchCargoTarball { 32 + inherit src; 33 + cargoUpdateHook = '' 34 + cat Cargo.toml.in Cargo.deps > Cargo.toml 35 + ''; 36 + name = "${pname}-${version}"; 37 + sha256 = "1qaqiaxqc4x2x5bd31na4c49vbjwrmz5clmgli7733dv55rxxias"; 38 + }; 39 + 40 + nativeBuildInputs = [ 41 + meson 42 + ninja 43 + pkg-config 44 + glib 45 + wayland 46 + wrapGAppsHook 47 + ] ++ (with rustPlatform; [ 48 + cargoSetupHook 49 + rust.cargo 50 + rust.rustc 51 + ]); 52 + 53 + buildInputs = [ 54 + gtk3 55 + gnome3.gnome-desktop 56 + wayland 57 + wayland-protocols 58 + libxml2 59 + libxkbcommon 60 + feedbackd 61 + ]; 62 + 63 + meta = with lib; { 64 + description = "A virtual keyboard supporting Wayland"; 65 + homepage = "https://source.puri.sm/Librem5/squeekboard"; 66 + license = licenses.gpl3Plus; 67 + maintainers = with maintainers; [ artturin ]; 68 + platforms = platforms.linux; 69 + }; 70 + }
+2
pkgs/top-level/all-packages.nix
··· 8347 8348 swiften = callPackage ../development/libraries/swiften { }; 8349 8350 t = callPackage ../tools/misc/t { }; 8351 8352 tabnine = callPackage ../development/tools/tabnine { };
··· 8347 8348 swiften = callPackage ../development/libraries/swiften { }; 8349 8350 + squeekboard = callPackage ../applications/accessibility/squeekboard { }; 8351 + 8352 t = callPackage ../tools/misc/t { }; 8353 8354 tabnine = callPackage ../development/tools/tabnine { };