1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pycups/default.nix

23 lines
607 B
Nix
Raw Normal View History

2018-03-02 01:38:48 +00:00
{ stdenv, lib, buildPythonPackage, fetchurl, cups, libiconv }:
2018-03-02 01:37:58 +00:00
buildPythonPackage rec {
pname = "pycups";
version = "1.9.73";
src = fetchurl {
url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335";
};
2018-03-02 01:38:48 +00:00
buildInputs = [ cups ] ++ lib.optional stdenv.isDarwin libiconv;
2018-03-02 01:37:58 +00:00
# Wants to connect to CUPS
doCheck = false;
meta = with lib; {
description = "Python bindings for libcups";
homepage = http://cyberelk.net/tim/software/pycups/;
license = with licenses; [ gpl2Plus ];
};
}