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

67 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2024-01-17 16:40:19 +02:00
{
lib,
cargo,
desktop-file-utils,
fetchFromGitLab,
glib,
gtk4,
libadwaita,
meson,
ninja,
nix-update-script,
2024-01-17 16:40:19 +02:00
pkg-config,
rustPlatform,
rustc,
stdenv,
wrapGAppsHook4,
}:
2024-04-22 19:17:41 +02:00
stdenv.mkDerivation (finalAttrs: {
2024-01-17 16:40:19 +02:00
pname = "lorem";
2025-03-24 00:22:00 +00:00
version = "1.5";
2024-01-17 16:40:19 +02:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World/design";
2024-04-22 19:17:41 +02:00
repo = "lorem";
rev = finalAttrs.version;
2025-03-24 00:22:00 +00:00
hash = "sha256-q6gpxxNebf2G/lT5wWXT/lVp3zR8QLWB8/sdK+wLTJ8=";
2024-01-17 16:40:19 +02:00
};
cargoDeps = rustPlatform.fetchCargoVendor {
2025-06-02 07:01:07 +02:00
inherit (finalAttrs) pname version src;
2025-03-24 00:22:00 +00:00
hash = "sha256-4JYYcfsEoCGJWZCp0273gXrf8hfuHL/QSsLEHvNa4uA=";
2024-01-17 16:40:19 +02:00
};
nativeBuildInputs = [
cargo
desktop-file-utils
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
];
buildInputs = [
glib
gtk4
libadwaita
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
2024-04-22 19:17:41 +02:00
changelog = "https://gitlab.gnome.org/World/design/lorem/-/releases/${finalAttrs.version}";
2024-01-17 16:40:19 +02:00
description = "Generate placeholder text";
2024-04-22 19:17:41 +02:00
homepage = "https://apps.gnome.org/Lorem/";
license = lib.licenses.gpl3Plus;
2024-01-17 16:40:19 +02:00
mainProgram = "lorem";
teams = [ lib.teams.gnome-circle ];
platforms = lib.platforms.linux;
2024-01-17 16:40:19 +02:00
};
2024-04-22 19:17:41 +02:00
})