diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-12-15 17:04:20 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2015-12-15 18:09:07 +0300 |
commit | 83a8e8e4ef535c10e5e1059bcb5a5498e68ecc3c (patch) | |
tree | fabaf0ff4bd637069989b6457d8076154f0d3314 /pkgs/tools/security/polkit-gnome/default.nix | |
parent | 8fb2141a69602dbb67bf75d061cd94356d2ec79e (diff) | |
download | nixpkgs-83a8e8e4ef535c10e5e1059bcb5a5498e68ecc3c.tar nixpkgs-83a8e8e4ef535c10e5e1059bcb5a5498e68ecc3c.tar.gz nixpkgs-83a8e8e4ef535c10e5e1059bcb5a5498e68ecc3c.tar.bz2 nixpkgs-83a8e8e4ef535c10e5e1059bcb5a5498e68ecc3c.tar.lz nixpkgs-83a8e8e4ef535c10e5e1059bcb5a5498e68ecc3c.tar.xz nixpkgs-83a8e8e4ef535c10e5e1059bcb5a5498e68ecc3c.tar.zst nixpkgs-83a8e8e4ef535c10e5e1059bcb5a5498e68ecc3c.zip |
polkit_gnome: cleanup, add platforms
Diffstat (limited to 'pkgs/tools/security/polkit-gnome/default.nix')
-rw-r--r-- | pkgs/tools/security/polkit-gnome/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/tools/security/polkit-gnome/default.nix b/pkgs/tools/security/polkit-gnome/default.nix index c06aac204a1..38d47e742a2 100644 --- a/pkgs/tools/security/polkit-gnome/default.nix +++ b/pkgs/tools/security/polkit-gnome/default.nix @@ -1,17 +1,20 @@ { stdenv, fetchurl, polkit, gtk3, pkgconfig, intltool }: -stdenv.mkDerivation { - name = "polkit-gnome-0.105"; +let + version = "0.105"; + +in stdenv.mkDerivation rec { + name = "polkit-gnome-${version}"; src = fetchurl { - url = mirror://gnome/sources/polkit-gnome/0.105/polkit-gnome-0.105.tar.xz; + url = "mirror://gnome/sources/polkit-gnome/${version}/${name}.tar.xz"; sha256 = "0sckmcbxyj6sbrnfc5p5lnw27ccghsid6v6wxq09mgxqcd4lk10p"; }; buildInputs = [ polkit gtk3 ]; nativeBuildInputs = [ pkgconfig intltool ]; - configureFlags = "--disable-introspection"; + configureFlags = [ "--disable-introspection" ]; # Desktop file from Debian postInstall = '' @@ -24,5 +27,6 @@ stdenv.mkDerivation { description = "A dbus session bus service that is used to bring up authentication dialogs"; license = stdenv.lib.licenses.gpl2; maintainers = with stdenv.lib.maintainers; [ urkud phreedom ]; + platforms = stdenv.lib.platforms.linux; }; } |