2018-02-21 04:01:34 +01:00
|
|
|
# FIXME: make gdk_pixbuf dependency optional
|
2018-06-06 09:17:52 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2019-03-02 18:56:39 +01:00
|
|
|
, pythonOlder
|
2018-02-21 04:01:34 +01:00
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, substituteAll
|
2018-02-21 03:25:23 +01:00
|
|
|
, makeFontsConf
|
|
|
|
, freefont_ttf
|
|
|
|
, pytest
|
2019-03-02 18:56:39 +01:00
|
|
|
, pytestrunner
|
2018-02-21 03:25:23 +01:00
|
|
|
, glibcLocales
|
|
|
|
, cairo
|
|
|
|
, cffi
|
|
|
|
, withXcffib ? false, xcffib
|
|
|
|
, python
|
|
|
|
, glib
|
2019-03-19 10:20:05 +01:00
|
|
|
, gdk_pixbuf
|
|
|
|
}@args:
|
|
|
|
|
|
|
|
import ./generic.nix ({
|
|
|
|
version = "1.0.2";
|
|
|
|
sha256 = "01ac51ae12c4324ca5809ce270f9dd1b67f5166fe63bd3e497e9ea3ca91946ff";
|
|
|
|
dlopen_patch = ./dlopen-paths.patch;
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
inherit withXcffib;
|
|
|
|
} // args)
|