2020-01-20 01:02:20 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, gdk-pixbuf
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, intltool
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2020-01-20 01:02:20 +00:00
|
|
|
, pulseaudio
|
|
|
|
, python3
|
2021-01-11 07:54:33 +00:00
|
|
|
, lib, stdenv
|
2020-01-20 01:02:20 +00:00
|
|
|
, xkeyboard_config
|
|
|
|
, xorg
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cinnamon-desktop";
|
2020-12-18 06:42:52 +00:00
|
|
|
version = "4.6.4";
|
2020-01-20 01:02:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-12-18 06:42:52 +00:00
|
|
|
sha256 = "08z5hgc6dwdp9fczm75axwh8q9665iz4y2lxp92xp62r3k0v9fvd";
|
2020-01-20 01:02:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
pulseaudio
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gdk-pixbuf
|
|
|
|
xkeyboard_config
|
|
|
|
xorg.libxkbfile
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXrandr
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
intltool
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2020-01-20 01:02:20 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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-common/share/cinnamon
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-01-20 01:02:20 +00:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2020-01-22 10:08:15 +00:00
|
|
|
license = [ licenses.gpl2 licenses.lgpl2 ];
|
2020-01-20 01:02:20 +00:00
|
|
|
platforms = platforms.linux;
|
2020-09-05 22:40:47 +00:00
|
|
|
maintainers = teams.cinnamon.members;
|
2020-01-20 01:02:20 +00:00
|
|
|
};
|
|
|
|
}
|