1 { stdenv, lib, buildPythonPackage, fetchurl, cups, libiconv }:
3 buildPythonPackage rec {
8 url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
9 sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335";
12 buildInputs = [ cups ] ++ lib.optional stdenv.isDarwin libiconv;
14 # Wants to connect to CUPS
18 description = "Python bindings for libcups";
19 homepage = "http://cyberelk.net/tim/software/pycups/";
20 license = with licenses; [ gpl2Plus ];