nixpkgs/pkgs/development/libraries/policykit/default.nix
Eelco Dolstra 7dd58cda98 * Sigh. For PolicyKit, follow the upstream names, otherwise I'll get
a headache.  "polkit" is the new, unstable release series.
  "policykit" is the old series.  (See
  http://lists.freedesktop.org/archives/polkit-devel/2009-February/000106.html
  for an "explanation" of the name change.)  It seems that for HAL we
  need to revert to the old "policykit", since it doesn't compile
  against "polkit".

svn path=/nixpkgs/trunk/; revision=17425
2009-09-25 20:06:36 +00:00

23 lines
736 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, expat, pam
, intltool, gettext }:
stdenv.mkDerivation rec {
name = "policykit-0.9";
src = fetchurl {
url = http://hal.freedesktop.org/releases/PolicyKit-0.9.tar.gz;
sha256 = "1dw05s4xqj67i3c13knzl04l8jap0kywzpav6fidpmqrximpq37l";
};
buildInputs = [ pkgconfig glib dbus.libs dbus_glib expat pam intltool gettext ];
configureFlags = "--localstatedir=/var";
installFlags = "localstatedir=$(TMPDIR)/var"; # keep `make install' happy
meta = {
homepage = http://www.freedesktop.org/wiki/Software/PolicyKit;
description = "A toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes";
};
}