2016-01-01 16:01:57 +01:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-04 12:36:15 +01:00
|
|
|
version = "0.2.6";
|
2016-01-01 16:01:57 +01:00
|
|
|
name = "cups-pk-helper-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-${version}.tar.xz";
|
2017-03-04 12:36:15 +01:00
|
|
|
sha256 = "0a52jw6rm7lr5nbyksiia0rn7sasyb5cjqcb95z1wxm2yprgi6lm";
|
2016-01-01 16:01:57 +01:00
|
|
|
};
|
|
|
|
|
2017-03-04 12:36:15 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
buildInputs = [ glib polkit cups ];
|
2016-01-01 16:01:57 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|