nixpkgs/pkgs/development/python-modules/cairocffi/default.nix

28 lines
503 B
Nix
Raw Normal View History

# FIXME: make gdk_pixbuf dependency optional
2018-06-06 08:17:52 +01:00
{ 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.0.2";
sha256 = "01ac51ae12c4324ca5809ce270f9dd1b67f5166fe63bd3e497e9ea3ca91946ff";
dlopen_patch = ./dlopen-paths.patch;
disabled = pythonOlder "3.5";
inherit withXcffib;
} // args)