nixpkgs/pkgs/by-name/po/polkit_gnome/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
1007 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchurl, polkit, gtk3, pkg-config, intltool }:
stdenv.mkDerivation (finalAttrs: {
pname = "polkit-gnome";
2015-12-15 14:04:20 +00:00
version = "0.105";
src = fetchurl {
url = "mirror://gnome/sources/polkit-gnome/${finalAttrs.version}/polkit-gnome-${finalAttrs.version}.tar.xz";
hash = "sha256-F4RJSWO4v5oA7txs06KGj7EjuKXlFuZsXtpI3xerk2k=";
};
buildInputs = [ polkit gtk3 ];
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ pkg-config intltool ];
2015-12-15 14:04:20 +00:00
configureFlags = [ "--disable-introspection" ];
# 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 = "https://gitlab.gnome.org/Archive/policykit-gnome";
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;
2021-12-18 09:25:46 +00:00
maintainers = with lib.maintainers; [ ];
2021-01-15 09:19:50 +00:00
platforms = lib.platforms.linux;
};
})