Unverified Commit ea4241aa authored by Maximilian Bosch's avatar Maximilian Bosch
Browse files

python3.pkgs.pycups: 1.9.73 -> 2.0.1

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
parent a1401376
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
{ stdenv, lib, buildPythonPackage, fetchurl, cups, libiconv }:
{ stdenv, lib, buildPythonPackage, fetchPypi, cups, libiconv }:

buildPythonPackage rec {
  pname = "pycups";
  version = "1.9.73";
  version = "2.0.1";

  src = fetchurl {
    url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
    sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335";
  src = fetchPypi {
    inherit pname version;
    hash = "sha256-V0NM5fYlSOsSlJyoIX8Gb07rIaXWq4sTRx3ONQ44DJA=";
  };

  buildInputs = [ cups ] ++ lib.optional stdenv.isDarwin libiconv;