Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dotfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jens Nolte
dotfiles
Commits
cbda9bf2
Commit
cbda9bf2
authored
4 years ago
by
Jens Nolte
Browse files
Options
Downloads
Patches
Plain Diff
Update squeekboard to 1.12.0
parent
63afcbd4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pkgs/default.nix
+2
-0
2 additions, 0 deletions
pkgs/default.nix
pkgs/squeekboard/1.12.0.nix
+0
-77
0 additions, 77 deletions
pkgs/squeekboard/1.12.0.nix
pkgs/squeekboard/default.nix
+10
-17
10 additions, 17 deletions
pkgs/squeekboard/default.nix
with
12 additions
and
94 deletions
pkgs/default.nix
+
2
−
0
View file @
cbda9bf2
...
...
@@ -12,6 +12,8 @@ rec {
greetd
=
self
.
callPackage
./greetd
{};
gtkgreet
=
self
.
callPackage
./gtkgreet
{};
squeekboard
=
self
.
callPackage
./squeekboard
{};
mpv-queezle
=
self
.
mpv-with-scripts
.
override
{
scripts
=
[
self
.
mpvScripts
.
mpris
];
};
...
...
This diff is collapsed.
Click to expand it.
pkgs/squeekboard/1.12.0.nix
deleted
100644 → 0
+
0
−
77
View file @
63afcbd4
{
lib
,
stdenv
,
pkgs
,
fetchFromGitLab
,
cmake
,
meson
,
ninja
,
pkg-config
,
gnome3
,
glib
,
gtk3
,
wayland
,
wayland-protocols
,
rustc
,
cargo
,
libxml2
,
libxkbcommon
,
rustPlatform
,
makeWrapper
,
substituteAll
,
fetchpatch
,
feedbackd
}:
rustPlatform
.
buildRustPackage
rec
{
pname
=
"squeekboard"
;
version
=
"1.12.0"
;
src
=
fetchFromGitLab
{
domain
=
"source.puri.sm"
;
owner
=
"Librem5"
;
repo
=
pname
;
rev
=
"v
${
version
}
"
;
sha256
=
"sha256-1iQqu2pnEsSVqPYTpeC8r/BDHDTlQGYiU5xwiLlzQXQ="
;
};
nativeBuildInputs
=
[
meson
ninja
pkg-config
rustc
cargo
glib
# for glib-compile-resources
wayland
makeWrapper
];
buildInputs
=
[
gtk3
# for gio-2.0
gnome3
.
gnome-desktop
wayland
wayland-protocols
libxml2
libxkbcommon
feedbackd
];
cargoSha256
=
"sha256-XALMnV3XShHoV3C/B/pVhlYiEiw2nfR4r6eG1KhZLDo="
;
cargoUpdateHook
=
''
cat Cargo.toml.in Cargo.deps > Cargo.toml
''
;
# Don't use buildRustPackage phases, only use it for rust deps setup
configurePhase
=
null
;
buildPhase
=
null
;
checkPhase
=
null
;
installPhase
=
null
;
meta
=
with
lib
;
{
description
=
"Squeekboard is a virtual keyboard supporting Wayland"
;
homepage
=
"https://source.puri.sm/Librem5/squeekboard"
;
license
=
licenses
.
gpl3Plus
;
maintainers
=
with
maintainers
;
[
masipcat
];
platforms
=
platforms
.
linux
;
};
}
This diff is collapsed.
Click to expand it.
pkgs/squeekboard/default.nix
+
10
−
17
View file @
cbda9bf2
{
lib
,
stdenv
,
pkgs
,
fetchFromGitLab
,
cmake
,
meson
,
ninja
,
pkg-config
...
...
@@ -17,31 +14,21 @@
,
libxkbcommon
,
rustPlatform
,
makeWrapper
,
substituteAll
,
fetchpatch
,
feedbackd
}:
rustPlatform
.
buildRustPackage
rec
{
pname
=
"squeekboard"
;
version
=
"1.
9.2
"
;
version
=
"1.
12.0
"
;
src
=
fetchFromGitLab
{
domain
=
"source.puri.sm"
;
owner
=
"Librem5"
;
repo
=
pname
;
rev
=
"v
${
version
}
"
;
sha256
=
"
02jjc9qxzb4iw3vypqdaxzs5mc66zkfmij1yrv72h99acg5s3ncz
"
;
sha256
=
"
sha256-1iQqu2pnEsSVqPYTpeC8r/BDHDTlQGYiU5xwiLlzQXQ=
"
;
};
patches
=
[
# Add missing dependency 'gio-unix-2.0' to meson.build.
# https://source.puri.sm/Librem5/squeekboard/-/merge_requests/356
(
fetchpatch
{
url
=
"https://source.puri.sm/Librem5/squeekboard/-/merge_requests/356.patch"
;
sha256
=
"1xi7h2nsrlf7szlj41kj6x1503af9svk5yj19l0q32ln3c40kgfs"
;
})
];
nativeBuildInputs
=
[
meson
ninja
...
...
@@ -60,9 +47,15 @@ rustPlatform.buildRustPackage rec {
wayland-protocols
libxml2
libxkbcommon
feedbackd
];
cargoSha256
=
"00gzw703w16i81yna4winj7gi4w7a1p986ggnx48jvyi0c14mxx0"
;
cargoSha256
=
"sha256-XALMnV3XShHoV3C/B/pVhlYiEiw2nfR4r6eG1KhZLDo="
;
cargoDepsHook
=
''
substituteInPlace source/Cargo.toml.in --subst-var-by path /build/source
cat source/Cargo.toml.in source/Cargo.deps > source/Cargo.toml
''
;
# Don't use buildRustPackage phases, only use it for rust deps setup
configurePhase
=
null
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment