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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

72 lines
1.6 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, linkFarm, lightdm-enso-os-greeter
, 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 {
pname = "lightdm-enso-os-greeter";
version = "0.2.1";
2018-08-12 02:13:14 +00:00
src = fetchFromGitHub {
owner = "nick92";
repo = "Enso-OS";
2018-08-12 02:13:14 +00:00
rev = "ed48330bfd986072bd82ac542ed8f8a7365c6427";
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
pkg-config
2019-09-11 11:00:16 +00:00
vala
wrapGAppsHook
];
2018-08-12 02:13:14 +00:00
buildInputs = [
dbus
gtk3
pcre
libepoxy
2018-08-12 02:13:14 +00:00
libgee
xorg.libX11
2018-08-12 02:13:14 +00:00
lightdm
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
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
'';
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
'';
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
];
};
}