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

90 lines
1.8 KiB
Nix

{
fetchFromGitHub,
gdk-pixbuf,
gobject-introspection,
gtk3,
intltool,
isocodes,
meson,
ninja,
pkg-config,
pulseaudio,
python3,
lib,
stdenv,
systemd,
xkeyboard_config,
xorg,
wrapGAppsHook3,
glib,
}:
stdenv.mkDerivation rec {
pname = "cinnamon-desktop";
version = "6.4.2";
src = fetchFromGitHub {
owner = "linuxmint";
repo = "cinnamon-desktop";
tag = version;
hash = "sha256-kNxVdPtCQtz4TSyCc6uKHmAGWm2nlWnLwC3Cm0E42Jc=";
};
outputs = [
"out"
"dev"
];
propagatedBuildInputs = [
glib
gtk3
pulseaudio
];
buildInputs = [
gdk-pixbuf
isocodes
systemd
xkeyboard_config
xorg.libxkbfile
xorg.libXext
xorg.libXrandr
];
nativeBuildInputs = [
meson
ninja
python3
wrapGAppsHook3
intltool
pkg-config
gobject-introspection
];
postPatch = ''
chmod +x install-scripts/meson_install_schemas.py # patchShebangs requires executable file
patchShebangs install-scripts/meson_install_schemas.py
sed "s|/usr/share|/run/current-system/sw/share|g" -i ./schemas/* # NOTE: unless this causes a circular dependency, we could link it to cinnamon/share/cinnamon
'';
meta = with lib; {
homepage = "https://github.com/linuxmint/cinnamon-desktop";
description = "Library and data for various Cinnamon modules";
longDescription = ''
The libcinnamon-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons. There is no API or ABI guarantee, although we are doing our
best to provide stability. Documentation for the API is available with
gtk-doc.
'';
license = [
licenses.gpl2
licenses.lgpl2
];
platforms = platforms.linux;
teams = [ teams.cinnamon ];
};
}