2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchurl, polkit, gtk3, pkg-config, intltool }:
|
2024-05-27 10:39:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-04-25 06:46:07 +00:00
|
|
|
pname = "polkit-gnome";
|
2015-12-15 14:04:20 +00:00
|
|
|
version = "0.105";
|
|
|
|
|
2011-03-26 18:18:39 +00:00
|
|
|
src = fetchurl {
|
2024-05-27 10:39:59 +00:00
|
|
|
url = "mirror://gnome/sources/polkit-gnome/${finalAttrs.version}/polkit-gnome-${finalAttrs.version}.tar.xz";
|
|
|
|
hash = "sha256-F4RJSWO4v5oA7txs06KGj7EjuKXlFuZsXtpI3xerk2k=";
|
2011-03-26 18:18:39 +00:00
|
|
|
};
|
|
|
|
|
2012-03-19 04:36:35 +00:00
|
|
|
buildInputs = [ polkit gtk3 ];
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
2011-03-26 18:18:39 +00:00
|
|
|
|
2015-12-15 14:04:20 +00:00
|
|
|
configureFlags = [ "--disable-introspection" ];
|
2011-03-26 18:18:39 +00:00
|
|
|
|
2012-03-19 04:36:35 +00:00
|
|
|
# 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
|
2019-04-25 06:46:07 +00:00
|
|
|
'';
|
2012-03-19 04:36:35 +00:00
|
|
|
|
|
|
|
meta = {
|
2019-05-04 13:59:55 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/Archive/policykit-gnome";
|
2011-03-26 18:18:39 +00:00
|
|
|
description = "Dbus session bus service that is used to bring up authentication dialogs";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2021-01-15 09:19:50 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2011-03-26 18:18:39 +00:00
|
|
|
};
|
2024-05-27 10:39:59 +00:00
|
|
|
})
|