nixpkgs/pkgs/desktops/mate/mate-polkit/default.nix

33 lines
830 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, gobject-introspection, libappindicator-gtk3, libindicator-gtk3, polkit, mate }:
2017-12-31 10:19:19 +00:00
stdenv.mkDerivation rec {
name = "mate-polkit-${version}";
2019-01-14 13:44:56 +00:00
version = "1.20.2";
2017-12-31 10:19:19 +00:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
2019-01-14 13:44:56 +00:00
sha256 = "0zajisavrxiynmp4qg7zamvkpnhy9nra01czwn21h6hm2yakbayr";
2017-12-31 10:19:19 +00:00
};
nativeBuildInputs = [
gobject-introspection
2017-12-31 10:19:19 +00:00
intltool
pkgconfig
2017-12-31 10:19:19 +00:00
];
buildInputs = [
gtk3
libappindicator-gtk3
libindicator-gtk3
polkit
];
meta = with stdenv.lib; {
description = "Integrates polkit authentication for MATE desktop";
homepage = http://mate-desktop.org;
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}