2019-05-22 12:03:39 +01:00
|
|
|
# FIXME: make gdk-pixbuf dependency optional
|
2018-06-06 08:17:52 +01: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
|
2019-03-02 17:56:39 +00:00
|
|
|
, pytestrunner
|
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 12:03:39 +01: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)
|