2019-09-11 11:00:16 +00:00
|
|
|
{ stdenv, fetchgit, pkgconfig, linkFarm, lightdm-enso-os-greeter
|
2018-08-12 02:13:14 +00:00
|
|
|
, dbus, pcre, epoxy, libXdmcp, at-spi2-core, libxklavier, libxkbcommon, libpthreadstubs
|
2019-09-11 11:00:16 +00:00
|
|
|
, gtk3, vala, cmake, libgee, libX11, 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 {
|
2018-08-12 02:13:14 +00:00
|
|
|
version = "0.2.1";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "lightdm-enso-os-greeter";
|
2018-08-12 02:13:14 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/nick92/Enso-OS;
|
|
|
|
rev = "ed48330bfd986072bd82ac542ed8f8a7365c6427";
|
|
|
|
sha256 = "11jm181jq1vbn83h235avpdxz7pqq6prqyzki5yryy53mkj4kgxz";
|
|
|
|
};
|
|
|
|
|
2019-09-11 11:00:16 +00:00
|
|
|
patches = [
|
|
|
|
./fix-paths.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2018-08-12 02:13:14 +00:00
|
|
|
buildInputs = [
|
|
|
|
dbus
|
|
|
|
gtk3
|
|
|
|
pcre
|
|
|
|
epoxy
|
|
|
|
libgee
|
|
|
|
libX11
|
|
|
|
lightdm
|
|
|
|
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
|
|
|
|
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
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''
|
|
|
|
A fork of pantheon greeter that positions elements in a central and
|
|
|
|
vertigal manner and adds a blur effect to the background
|
|
|
|
'';
|
|
|
|
homepage = https://github.com/nick92/Enso-OS;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
eadwu
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|