2009-09-25 22:06:36 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus_glib, zlib, pam, glib, libX11, polkit }:
|
2009-03-11 17:31:01 +01:00
|
|
|
|
2009-08-13 09:55:11 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2009-08-14 23:28:44 +02:00
|
|
|
name = "console-kit-0.3.1";
|
2009-08-13 09:55:11 +02:00
|
|
|
|
2009-03-11 17:31:01 +01:00
|
|
|
src = fetchurl {
|
2009-08-14 23:28:44 +02:00
|
|
|
url = http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.3.1.tar.bz2;
|
2009-08-13 09:55:11 +02:00
|
|
|
sha256 = "0b834ly6l8l76awr2pn2xz3ic6ilhfif4h3nsi96ffa91n09ydk0";
|
2009-03-11 17:31:01 +01:00
|
|
|
};
|
2009-08-13 09:55:11 +02:00
|
|
|
|
2009-09-25 22:06:36 +02:00
|
|
|
buildInputs = [ pkgconfig dbus_glib zlib pam glib libX11 polkit ];
|
2009-08-13 09:55:11 +02:00
|
|
|
|
2009-08-17 02:36:48 +02:00
|
|
|
configureFlags = "--enable-pam-module --with-pam-module-dir=$(out)/lib/security --localstatedir=/var --sysconfdir=/etc";
|
|
|
|
|
|
|
|
# Needed for pthread_cancel().
|
|
|
|
NIX_LDFLAGS = "-lgcc_s";
|
|
|
|
|
|
|
|
installFlags = "sysconfdir=$(out)/etc DBUS_SYS_DIR=$(out)/etc/dbus-1/system.d"; # keep `make install' happy
|
|
|
|
|
2009-08-13 09:55:11 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/ConsoleKit;
|
|
|
|
description = "A framework for defining and tracking users, login sessions, and seats";
|
|
|
|
};
|
2009-03-11 17:31:01 +01:00
|
|
|
}
|