nixpkgs/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix

72 lines
1.4 KiB
Nix
Raw Normal View History

2018-08-12 02:13:14 +00:00
{ stdenv, fetchgit, pkgconfig
, dbus, pcre, epoxy, libXdmcp, at-spi2-core, libxklavier, libxkbcommon, libpthreadstubs
2019-05-22 11:03:39 +00:00
, gtk3, vala, cmake, libgee, libX11, lightdm, gdk-pixbuf, clutter-gtk }:
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";
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";
};
buildInputs = [
dbus
gtk3
pcre
vala
cmake
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
];
nativeBuildInputs = [
pkgconfig
];
postPatch = ''
sed -i "s@\''${CMAKE_INSTALL_PREFIX}/@@" greeter/CMakeLists.txt
'';
preConfigure = ''
cd greeter
'';
installFlags = [
"DESTDIR=$(out)"
];
preFixup = ''
mv $out/usr/* $out
rm -r $out/usr
'';
postFixup = ''
rm -r $out/sbin
'';
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
];
};
}