gnome-tour: fix build
This commit is contained in:
parent
4995bd5105
commit
69ea22c3da
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, gettext
|
, gettext
|
||||||
, meson
|
, meson
|
||||||
@ -15,9 +16,11 @@
|
|||||||
, gnome3
|
, gnome3
|
||||||
, libhandy
|
, libhandy
|
||||||
, librsvg
|
, librsvg
|
||||||
|
, rustc
|
||||||
|
, cargo
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-tour";
|
pname = "gnome-tour";
|
||||||
version = "3.38.0";
|
version = "3.38.0";
|
||||||
|
|
||||||
@ -30,6 +33,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
appstream-glib
|
appstream-glib
|
||||||
|
cargo
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
gettext
|
gettext
|
||||||
glib # glib-compile-resources
|
glib # glib-compile-resources
|
||||||
@ -37,6 +41,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
|
rustPlatform.cargoSetupHook
|
||||||
|
rustc
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -48,12 +54,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
librsvg
|
librsvg
|
||||||
];
|
];
|
||||||
|
|
||||||
# Don't use buildRustPackage phases, only use it for rust deps setup
|
|
||||||
configurePhase = null;
|
|
||||||
buildPhase = null;
|
|
||||||
checkPhase = null;
|
|
||||||
installPhase = null;
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x build-aux/meson_post_install.py
|
chmod +x build-aux/meson_post_install.py
|
||||||
patchShebangs build-aux/meson_post_install.py
|
patchShebangs build-aux/meson_post_install.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user