1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
nixpkgs/pkgs/misc/cups/cups-pk-helper.nix
2017-03-07 11:27:18 +01:00

23 lines
734 B
Nix

{ stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups }:
stdenv.mkDerivation rec {
version = "0.2.6";
name = "cups-pk-helper-${version}";
src = fetchurl {
url = "http://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 ];
};
}