about summary refs log tree commit diff
path: root/nixpkgs/pkgs/misc/cups/cups-pk-helper.nix
blob: 5e7596032b3dc2d472bd7eedceb9f82a0f790a12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups }:

stdenv.mkDerivation rec {
  version = "0.2.6";
  pname = "cups-pk-helper";

  src = fetchurl {
    url = "https://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-${version}.tar.xz";
    sha256 = "0a52jw6rm7lr5nbyksiia0rn7sasyb5cjqcb95z1wxm2yprgi6lm";
  };

  nativeBuildInputs = [ pkgconfig intltool ];
  buildInputs = [ glib polkit cups ];

  meta = with stdenv.lib; {
    description = "PolicyKit helper to configure cups with fine-grained privileges";
    homepage = http://www.freedesktop.org/wiki/Software/cups-pk-helper/;
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.bjornfor ];
  };
}