mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
ea4241aad9
Changes: https://github.com/OpenPrinting/pycups/blob/v2.0.1/NEWS Most notably, this fixes for me a segfault in `destroy_TLS()`[1] that got fixed upstream in 2.0.0. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1816107
23 lines
547 B
Nix
23 lines
547 B
Nix
{ stdenv, lib, buildPythonPackage, fetchPypi, cups, libiconv }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pycups";
|
|
version = "2.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-V0NM5fYlSOsSlJyoIX8Gb07rIaXWq4sTRx3ONQ44DJA=";
|
|
};
|
|
|
|
buildInputs = [ cups ] ++ lib.optional stdenv.isDarwin libiconv;
|
|
|
|
# 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 ];
|
|
};
|
|
}
|