squeekboard: 1.17.0 -> 1.20.0
Set `-Dnewer=true` as Debian does, to use a newer non-broken set of
Cargo dependencies: d19050e06d/debian/rules (L41)
This commit is contained in:
parent
906847f972
commit
d6f077a567
1 changed files with 9 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "squeekboard";
|
pname = "squeekboard";
|
||||||
version = "1.17.0";
|
version = "1.20.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
|
@ -28,18 +28,23 @@ stdenv.mkDerivation rec {
|
||||||
owner = "Phosh";
|
owner = "Phosh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-U46OQ0bXkXv6za8vUZxtbxJKqiF/X/xxJsqQGpnRIpg=";
|
sha256 = "sha256-wx3fKRX/SPYGAFuR9u03JAvVRhtYIPUvW8mAsCdx83I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
cargoUpdateHook = ''
|
cargoUpdateHook = ''
|
||||||
cat Cargo.toml.in Cargo.deps > Cargo.toml
|
cat Cargo.toml.in Cargo.deps.newer > Cargo.toml
|
||||||
|
cp Cargo.lock.newer Cargo.lock
|
||||||
'';
|
'';
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
sha256 = "sha256-4q8MW1n/xu538+R5ZlA+p/hd6pOQPKj7jOFwnuMc7sk=";
|
sha256 = "sha256-BbNkapqnqEW/NglrCse10Tm80SXYVQWWrOC5dTN6oi0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dnewer=true"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
|
Loading…
Reference in a new issue