about summary refs log tree commit diff
path: root/pkgs/applications/display-managers/lightdm/default.nix
blob: ce1f4400b27110d23d7f6fef48d774543c371f51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2, intltool, x11, libxklavier, libgcrypt, makeWrapper }:

stdenv.mkDerivation {
  name = "lightdm-1.5.1";

  src = fetchurl {
    url = https://launchpad.net/lightdm/1.6/1.5.1/+download/lightdm-1.5.1.tar.xz;
    sha256 = "645db2d763cc514d6aecb1838f4a9c33c3dcf0c94567a7ef36c6b23d8aa56c86";
  };

  buildInputs = [ pkgconfig pam libxcb glib libXdmcp itstool libxml2 intltool libxklavier libgcrypt makeWrapper ];

  configureFlags = [ "--enable-liblightdm-gobject" ];

  patches =
    [ ./lightdm.patch
    ];

  patchFlags = "-p0";

  meta = {
    homepage = http://launchpad.net/lightdm;
    platforms = stdenv.lib.platforms.linux;
  };
}