2022-03-08 14:33:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, linkFarm, lightdm-enso-os-greeter
|
2022-10-13 22:16:16 +00:00
|
|
|
, dbus, pcre, libepoxy, xorg, at-spi2-core, libxklavier, libxkbcommon
|
|
|
|
, gtk3, vala, cmake, libgee, lightdm, gdk-pixbuf, clutter-gtk, wrapGAppsHook, librsvg }:
|
2018-08-12 02:13:14 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "lightdm-enso-os-greeter";
|
2022-03-08 14:33:00 +00:00
|
|
|
version = "0.2.1";
|
2018-08-12 02:13:14 +00:00
|
|
|
|
2022-03-08 14:33:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nick92";
|
|
|
|
repo = "Enso-OS";
|
2018-08-12 02:13:14 +00:00
|
|
|
rev = "ed48330bfd986072bd82ac542ed8f8a7365c6427";
|
2022-03-08 14:33:00 +00:00
|
|
|
sha256 = "sha256-v79J5KyjeJ99ifN7nK/B+J7f292qDAEHsmsHLAMKVYY=";
|
2018-08-12 02:13:14 +00:00
|
|
|
};
|
|
|
|
|
2019-09-11 11:00:16 +00:00
|
|
|
patches = [
|
|
|
|
./fix-paths.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2019-09-11 11:00:16 +00:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2018-08-12 02:13:14 +00:00
|
|
|
buildInputs = [
|
|
|
|
dbus
|
|
|
|
gtk3
|
|
|
|
pcre
|
2021-11-11 04:35:34 +00:00
|
|
|
libepoxy
|
2018-08-12 02:13:14 +00:00
|
|
|
libgee
|
2022-10-13 22:16:16 +00:00
|
|
|
xorg.libX11
|
2018-08-12 02:13:14 +00:00
|
|
|
lightdm
|
2022-10-13 22:16:16 +00:00
|
|
|
xorg.libXdmcp
|
2019-05-22 11:03:39 +00:00
|
|
|
gdk-pixbuf
|
2018-08-12 02:13:14 +00:00
|
|
|
clutter-gtk
|
|
|
|
libxklavier
|
|
|
|
at-spi2-core
|
|
|
|
libxkbcommon
|
2022-10-13 22:16:16 +00:00
|
|
|
xorg.libpthreadstubs
|
2019-09-11 11:00:16 +00:00
|
|
|
librsvg
|
2018-08-12 02:13:14 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd greeter
|
|
|
|
'';
|
|
|
|
|
2019-09-11 11:00:16 +00:00
|
|
|
passthru.xgreeters = linkFarm "enso-os-greeter-xgreeters" [{
|
|
|
|
path = "${lightdm-enso-os-greeter}/share/xgreeters/pantheon-greeter.desktop";
|
|
|
|
name = "pantheon-greeter.desktop";
|
|
|
|
}];
|
2018-08-12 02:13:14 +00:00
|
|
|
|
|
|
|
postFixup = ''
|
2019-09-11 11:00:16 +00:00
|
|
|
substituteInPlace $out/share/xgreeters/pantheon-greeter.desktop \
|
|
|
|
--replace "pantheon-greeter" "$out/bin/pantheon-greeter"
|
2018-08-12 02:13:14 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-12 02:13:14 +00:00
|
|
|
description = ''
|
|
|
|
A fork of pantheon greeter that positions elements in a central and
|
|
|
|
vertigal manner and adds a blur effect to the background
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/nick92/Enso-OS";
|
2018-08-12 02:13:14 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
eadwu
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|