diff options
Diffstat (limited to 'pkgs/tools/security/polkit-gnome/default.nix')
-rw-r--r-- | pkgs/tools/security/polkit-gnome/default.nix | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/pkgs/tools/security/polkit-gnome/default.nix b/pkgs/tools/security/polkit-gnome/default.nix index 9adab0fb0c27d..b70aa427031ef 100644 --- a/pkgs/tools/security/polkit-gnome/default.nix +++ b/pkgs/tools/security/polkit-gnome/default.nix @@ -1,22 +1,28 @@ -{ stdenv, fetchurl, pkgconfig, gtk, polkit, dbus_glib, intltool }: -stdenv.mkDerivation rec { +{ stdenv, fetchurl, polkit, gtk3, pkgconfig, intltool }: - name = "polkit-gnome-${version}"; - version = "0.96"; +stdenv.mkDerivation { + name = "polkit-gnome-0.105"; src = fetchurl { - url = http://hal.freedesktop.org/releases/polkit-gnome-0.96.tar.bz2; - sha256 = "14la7j3h1k1s88amkcv8rzq9wmhgzypvxpwaxwg2x2k55l1wi5hd"; + url = mirror://gnome/sources/polkit-gnome/0.105/polkit-gnome-0.105.tar.xz; + sha256 = "0sckmcbxyj6sbrnfc5p5lnw27ccghsid6v6wxq09mgxqcd4lk10p"; }; - buildInputs = [ pkgconfig gtk polkit dbus_glib intltool ]; + buildInputs = [ polkit gtk3 ]; + buildNativeInputs = [ pkgconfig intltool ]; - configureFlags = [ "--disable-introspection" ]; + configureFlags = "--disable-introspection"; - meta = with stdenv.lib; { + # Desktop file from Debian + postInstall = '' + mkdir -p $out/etc/xdg/autostart + substituteAll ${./polkit-gnome-authentication-agent-1.desktop} $out/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop + ''; + + meta = { homepage = http://hal.freedesktop.org/docs/PolicyKit/; description = "A dbus session bus service that is used to bring up authentication dialogs"; - license = licenses.gpl2; - maintainers = [ maintainers.phreedom ]; + license = stdenv.lib.licenses.gpl2; + maintainers = with stdenv.lib.maintainers; [ urkud phreedom ]; }; -} \ No newline at end of file +} |