python.pkgs.cairocffi: make withXcffib work again (#57855)

This commit is contained in:
Robert Schütz
2019-03-19 10:20:05 +01:00
committed by GitHub
parent b517554ea6
commit 180c68d88a
4 changed files with 90 additions and 63 deletions
@@ -0,0 +1,26 @@
# 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 = "0.9.0";
sha256 = "15386c3a9e08823d6826c4491eaccc7b7254b1dc587a3b9ce60c350c3f990337";
dlopen_patch = ./dlopen-paths-0.9.patch;
inherit withXcffib;
} // args)