mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
eccf4d0784
https://gitlab.gnome.org/World/Phosh/squeekboard/-/tags/v1.16.0
b6ce4151bd/debian/changelog
73 lines
1.3 KiB
Nix
73 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitLab
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, gnome
|
|
, glib
|
|
, gtk3
|
|
, wayland
|
|
, wayland-protocols
|
|
, libxml2
|
|
, libxkbcommon
|
|
, rustPlatform
|
|
, feedbackd
|
|
, wrapGAppsHook
|
|
, fetchpatch
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "squeekboard";
|
|
version = "1.16.0";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
group = "World";
|
|
owner = "Phosh";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-51Grkn6NSR6azTRuq1vdbDg7d3HuQQ+ZJCsM2mSrSHk=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
inherit src;
|
|
cargoUpdateHook = ''
|
|
cat Cargo.toml.in Cargo.deps > Cargo.toml
|
|
'';
|
|
name = "${pname}-${version}";
|
|
sha256 = "sha256-vQaiEENxaQxBGYP1br03wSkU7OGOYkJvMBUAOeb3jGk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
glib
|
|
wayland
|
|
wrapGAppsHook
|
|
] ++ (with rustPlatform; [
|
|
cargoSetupHook
|
|
rust.cargo
|
|
rust.rustc
|
|
]);
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
gnome.gnome-desktop
|
|
wayland
|
|
wayland-protocols
|
|
libxml2
|
|
libxkbcommon
|
|
feedbackd
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A virtual keyboard supporting Wayland";
|
|
homepage = "https://source.puri.sm/Librem5/squeekboard";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ artturin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|