Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

83 lines
1.5 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
rustPlatform,
cargo,
desktop-file-utils,
appstream-glib,
blueprint-compiler,
meson,
ninja,
pkg-config,
rustc,
wrapGAppsHook4,
python3,
git,
glib,
gtk4,
gst_all_1,
libadwaita,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "solanum";
version = "6.0.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "Solanum";
tag = finalAttrs.version;
hash = "sha256-Wh9/88Vc4mtjL0U1Vrw+GEEBPjEv+5NrWd/Kw1glp+w=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-krjbeutochFk5md+THlYBW4iEwfFDbK89DYHZyd3IKo=";
};
postPatch = ''
patchShebangs build-aux
'';
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
python3
git
desktop-file-utils
appstream-glib
blueprint-compiler
rustPlatform.cargoSetupHook
cargo
rustc
];
buildInputs = [
glib
gtk4
libadwaita
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-bad
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
homepage = "https://gitlab.gnome.org/World/Solanum";
description = "Pomodoro timer for the GNOME desktop";
maintainers = with lib.maintainers; [ linsui ];
teams = [ lib.teams.gnome-circle ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
mainProgram = "solanum";
};
})