nixpkgs/pkgs/desktops/gnome/core/gnome-tour/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
2021-02-28 15:09:56 +00:00
, stdenv
2020-02-16 10:00:23 +00:00
, rustPlatform
, gettext
, meson
, ninja
, fetchurl
2020-02-16 10:00:23 +00:00
, pkg-config
, gtk4
2020-02-16 10:00:23 +00:00
, glib
, gdk-pixbuf
, desktop-file-utils
, appstream-glib
, wrapGAppsHook4
2020-02-16 10:00:23 +00:00
, python3
, gnome
, libadwaita
, librsvg
2021-02-28 15:09:56 +00:00
, rustc
, cargo
2020-02-16 10:00:23 +00:00
}:
2021-02-28 15:09:56 +00:00
stdenv.mkDerivation rec {
2020-02-16 10:00:23 +00:00
pname = "gnome-tour";
version = "45.0";
2020-02-16 10:00:23 +00:00
src = fetchurl {
2021-03-21 05:15:47 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-W+S470uPTV7KzMMQSNtuCFqPe/+tqghDuOiniP8dre4=";
2020-02-16 10:00:23 +00:00
};
cargoVendorDir = "vendor";
2020-02-16 10:00:23 +00:00
2022-08-06 22:45:53 +00:00
depsBuildBuild = [
pkg-config
];
2020-02-16 10:00:23 +00:00
nativeBuildInputs = [
appstream-glib
2021-02-28 15:09:56 +00:00
cargo
2020-02-16 10:00:23 +00:00
desktop-file-utils
gettext
glib # glib-compile-resources
2020-02-16 10:00:23 +00:00
meson
ninja
pkg-config
python3
2021-02-28 15:09:56 +00:00
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
2020-02-16 10:00:23 +00:00
];
buildInputs = [
gdk-pixbuf
glib
gtk4
libadwaita
librsvg
2020-02-16 10:00:23 +00:00
];
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
};
};
2020-02-16 10:00:23 +00:00
meta = with lib; {
2020-02-16 10:00:23 +00:00
homepage = "https://gitlab.gnome.org/GNOME/gnome-tour";
description = "GNOME Greeter & Tour";
mainProgram = "gnome-tour";
maintainers = teams.gnome.members;
2020-02-16 10:00:23 +00:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}