diff --git a/pkgs/development/libraries/ConsoleKit/default.nix b/pkgs/development/libraries/console-kit/default.nix similarity index 52% rename from pkgs/development/libraries/ConsoleKit/default.nix rename to pkgs/development/libraries/console-kit/default.nix index 613708c0223c..a7d57ebc3326 100644 --- a/pkgs/development/libraries/ConsoleKit/default.nix +++ b/pkgs/development/libraries/console-kit/default.nix @@ -1,14 +1,14 @@ -{stdenv, fetchurl, pkgconfig, dbus_glib, zlib, pam, glib, libX11}: +{ stdenv, fetchurl, pkgconfig, dbus_glib, zlib, pam, glib, libX11, policy_kit }: stdenv.mkDerivation rec { - name = "ConsoleKit-0.3.1"; + name = "console-kit-0.3.1"; src = fetchurl { - url = "http://www.freedesktop.org/software/ConsoleKit/dist/${name}.tar.bz2"; + url = http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.3.1.tar.bz2; sha256 = "0b834ly6l8l76awr2pn2xz3ic6ilhfif4h3nsi96ffa91n09ydk0"; }; - buildInputs = [ pkgconfig dbus_glib zlib pam glib libX11 ]; + buildInputs = [ pkgconfig dbus_glib zlib pam glib libX11 policy_kit ]; meta = { homepage = http://www.freedesktop.org/wiki/Software/ConsoleKit; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b378549dd7c7..cf1d4851ed2a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2881,8 +2881,8 @@ let inherit fetchurl stdenv; }; - ConsoleKit = import ../development/libraries/ConsoleKit { - inherit stdenv fetchurl pkgconfig dbus_glib zlib pam; + console_kit = import ../development/libraries/console-kit { + inherit stdenv fetchurl pkgconfig dbus_glib zlib pam policy_kit; inherit (gtkLibs) glib; inherit (xlibs) libX11; };