3
0
Fork 0
forked from mirrors/nixpkgs

polkit_gnome: cleanup, add platforms

This commit is contained in:
Nikolay Amiantov 2015-12-15 17:04:20 +03:00
parent 8fb2141a69
commit 83a8e8e4ef

View file

@ -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;
};
}