3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix

71 lines
1.6 KiB
Nix
Raw Normal View History

2019-09-11 12:00:16 +01:00
{ stdenv, fetchgit, pkgconfig, linkFarm, lightdm-enso-os-greeter
2018-08-12 03:13:14 +01:00
, dbus, pcre, epoxy, libXdmcp, at-spi2-core, libxklavier, libxkbcommon, libpthreadstubs
2019-09-11 12:00:16 +01:00
, gtk3, vala, cmake, libgee, libX11, lightdm, gdk-pixbuf, clutter-gtk, wrapGAppsHook, librsvg }:
2018-08-12 03:13:14 +01:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2018-08-12 03:13:14 +01:00
version = "0.2.1";
pname = "lightdm-enso-os-greeter";
2018-08-12 03:13:14 +01:00
src = fetchgit {
url = https://github.com/nick92/Enso-OS;
rev = "ed48330bfd986072bd82ac542ed8f8a7365c6427";
sha256 = "11jm181jq1vbn83h235avpdxz7pqq6prqyzki5yryy53mkj4kgxz";
};
2019-09-11 12:00:16 +01:00
patches = [
./fix-paths.patch
];
nativeBuildInputs = [
cmake
pkgconfig
vala
wrapGAppsHook
];
2018-08-12 03:13:14 +01:00
buildInputs = [
dbus
gtk3
pcre
epoxy
libgee
libX11
lightdm
libXdmcp
2019-05-22 12:03:39 +01:00
gdk-pixbuf
2018-08-12 03:13:14 +01:00
clutter-gtk
libxklavier
at-spi2-core
libxkbcommon
libpthreadstubs
2019-09-11 12:00:16 +01:00
librsvg
2018-08-12 03:13:14 +01:00
];
preConfigure = ''
cd greeter
'';
2019-09-11 12:00:16 +01: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 03:13:14 +01:00
postFixup = ''
2019-09-11 12:00:16 +01:00
substituteInPlace $out/share/xgreeters/pantheon-greeter.desktop \
--replace "pantheon-greeter" "$out/bin/pantheon-greeter"
2018-08-12 03:13:14 +01: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
];
};
}