2019-05-22 11:03:39 +00:00
|
|
|
# FIXME: make gdk-pixbuf dependency optional
|
2018-06-06 07:17:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2019-03-02 17:56:39 +00:00
|
|
|
, pythonOlder
|
2018-02-21 03:01:34 +00:00
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, substituteAll
|
2018-02-21 02:25:23 +00:00
|
|
|
, makeFontsConf
|
|
|
|
, freefont_ttf
|
|
|
|
, pytest
|
2021-07-20 21:07:53 +00:00
|
|
|
, pytest-runner
|
2018-02-21 02:25:23 +00:00
|
|
|
, glibcLocales
|
|
|
|
, cairo
|
|
|
|
, cffi
|
2021-03-07 01:11:52 +00:00
|
|
|
, numpy
|
2018-02-21 02:25:23 +00:00
|
|
|
, withXcffib ? false, xcffib
|
|
|
|
, python
|
|
|
|
, glib
|
2019-05-22 11:03:39 +00:00
|
|
|
, gdk-pixbuf
|
2019-03-19 09:20:05 +00:00
|
|
|
}@args:
|
|
|
|
|
|
|
|
import ./generic.nix ({
|
2021-03-07 01:11:52 +00:00
|
|
|
version = "1.2.0";
|
|
|
|
sha256 = "sha256-mpebUAxkyBef7ChvM36P5kTsovLNBYYM4LYtJfIuoUA=";
|
2019-03-19 09:20:05 +00:00
|
|
|
dlopen_patch = ./dlopen-paths.patch;
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
inherit withXcffib;
|
|
|
|
} // args)
|