7ff2638b7f
The tests were failing due the switch to pytest5. This issue has been addressed upstream in https://github.com/Kozea/cairocffi/commit/a500f208660ba9861828a2a92b32c33565ee18fd which is included in v.1.1.0, so bumping the version and updating the old patch. Hydra log of the failure: https://hydra.nixos.org/build/100785460/nixlog/6
28 lines
491 B
Nix
28 lines
491 B
Nix
# FIXME: make gdk-pixbuf dependency optional
|
|
{ stdenv
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, lib
|
|
, substituteAll
|
|
, makeFontsConf
|
|
, freefont_ttf
|
|
, pytest
|
|
, pytestrunner
|
|
, glibcLocales
|
|
, cairo
|
|
, cffi
|
|
, withXcffib ? false, xcffib
|
|
, python
|
|
, glib
|
|
, gdk-pixbuf
|
|
}@args:
|
|
|
|
import ./generic.nix ({
|
|
version = "1.1.0";
|
|
sha256 = "1nq53f5jipgy9jgyfxp43j40qfbmrhgn1cj8bp5rrb3liy3wbh7i";
|
|
dlopen_patch = ./dlopen-paths.patch;
|
|
disabled = pythonOlder "3.5";
|
|
inherit withXcffib;
|
|
} // args)
|