diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-05-18 08:17:48 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-05-18 08:17:48 +0200 |
commit | 840e530934eb24f83788bb0933e304500ea0dc01 (patch) | |
tree | b330ddaaaa66808ffe137eef0f48ce080d08bda9 /pkgs/tools/security | |
parent | 365c82c4bb80585d827ecde76b105075aba94040 (diff) | |
parent | 2de2bc4be10637a7d8b11d40731954034ae3be57 (diff) |
Merge staging into staging-next
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/polkit-gnome/default.nix | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/tools/security/polkit-gnome/default.nix b/pkgs/tools/security/polkit-gnome/default.nix index bfb3fb63b141..559911699680 100644 --- a/pkgs/tools/security/polkit-gnome/default.nix +++ b/pkgs/tools/security/polkit-gnome/default.nix @@ -1,13 +1,10 @@ { stdenv, fetchurl, polkit, gtk3, pkgconfig, intltool }: - -let +stdenv.mkDerivation rec { + pname = "polkit-gnome"; version = "0.105"; -in stdenv.mkDerivation rec { - name = "polkit-gnome-${version}"; - src = fetchurl { - url = "mirror://gnome/sources/polkit-gnome/${version}/${name}.tar.xz"; + url = "mirror://gnome/sources/polkit-gnome/${version}/${pname}-${version}.tar.xz"; sha256 = "0sckmcbxyj6sbrnfc5p5lnw27ccghsid6v6wxq09mgxqcd4lk10p"; }; @@ -20,12 +17,12 @@ in stdenv.mkDerivation rec { 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 = https://hal.freedesktop.org/docs/PolicyKit/; + homepage = "https://gitlab.gnome.org/Archive/policykit-gnome"; description = "A dbus session bus service that is used to bring up authentication dialogs"; - license = stdenv.lib.licenses.gpl2; + license = stdenv.lib.licenses.lgpl2Plus; maintainers = with stdenv.lib.maintainers; [ phreedom ]; platforms = stdenv.lib.platforms.linux; }; |