mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
cinnamon.cinnamon-session: 5.8.1 -> 6.0.1
https://github.com/linuxmint/cinnamon-session/compare/5.8.1...6.0.1
New cinnamon-session-quit dialog.
264a4d0a67
This commit is contained in:
parent
540072b8a1
commit
b21bfd8b5d
@ -23,15 +23,22 @@
|
||||
, pango
|
||||
}:
|
||||
|
||||
let
|
||||
pythonEnv = python3.withPackages (pp: with pp; [
|
||||
pp.xapp # don't omit `pp.`, see #213561
|
||||
pygobject3
|
||||
setproctitle
|
||||
]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-session";
|
||||
version = "5.8.1";
|
||||
version = "6.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-NVoP1KYh/z96NKMi9LjL4RgkjJg32oSy5WHJ91+70DI=";
|
||||
hash = "sha256-9wdakMCW0RnsYdf9OmK/Q9o8m0g+5EfHVbjqvFY3d/w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -40,6 +47,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
# meson.build
|
||||
cinnamon-desktop
|
||||
gtk3
|
||||
glib
|
||||
libcanberra
|
||||
@ -57,12 +65,11 @@ stdenv.mkDerivation rec {
|
||||
xorg.xtrans
|
||||
|
||||
# other (not meson.build)
|
||||
|
||||
cinnamon-desktop
|
||||
cinnamon-settings-daemon
|
||||
dbus-glib
|
||||
glib
|
||||
gsettings-desktop-schemas
|
||||
pythonEnv # for cinnamon-session-quit
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -81,8 +88,10 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x data/meson_install_schemas.py # patchShebangs requires executable file
|
||||
patchShebangs data/meson_install_schemas.py
|
||||
# patchShebangs requires executable file
|
||||
chmod +x data/meson_install_schemas.py cinnamon-session-quit/cinnamon-session-quit.py
|
||||
patchShebangs --build data/meson_install_schemas.py
|
||||
patchShebangs --host cinnamon-session-quit/cinnamon-session-quit.py
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user