squeekboard: 1.22.0 -> 1.38.0

https://gitlab.gnome.org/World/Phosh/squeekboard/-/releases/v1.38.0

> The build-system has been simplified
>   A single Cargo.toml file is used, instead of assembling it from multiple parts
>   Newer dependencies are now used for building Squeekboard by default
This commit is contained in:
Tom Fitzhenry 2024-04-30 22:49:50 +10:00
parent cab06fdbd9
commit bff567fdf7

View file

@ -24,7 +24,7 @@
stdenv.mkDerivation rec {
pname = "squeekboard";
version = "1.22.0";
version = "1.38.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
@ -32,23 +32,15 @@ stdenv.mkDerivation rec {
owner = "Phosh";
repo = pname;
rev = "v${version}";
hash = "sha256-Rk6LOCZ5bhoo5ORAIIYWENrKUIVypd8bnKjyyBSbUYg=";
hash = "sha256-ZVSnLH2wLPcOHkU2pO0BgIdGmULMNiacIYMRmhN+bZ8=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
cargoUpdateHook = ''
cat Cargo.toml.in Cargo.deps.newer > Cargo.toml
cp Cargo.lock.newer Cargo.lock
'';
name = "${pname}-${version}";
hash = "sha256-DygWra4R/w8KzkFzIVm4+ePpUpjiYGaDx2NQm6o+tWQ=";
hash = "sha256-tcn1tRuRlHVTYvc8T/ePfCEPNjih6B9lo/hdX+WwitQ=";
};
mesonFlags = [
"-Dnewer=true"
];
nativeBuildInputs = [
meson
ninja