2016-08-26 22:18:32 +01:00
|
|
|
{ stdenv, fetchurl, mkPythonDerivation, python, pkgconfig, glib, gobjectIntrospection, pycairo, cairo, which, ncurses}:
|
2014-05-20 12:37:09 +01:00
|
|
|
|
2016-08-31 10:01:16 +01:00
|
|
|
mkPythonDerivation rec {
|
2016-04-03 06:28:15 +01:00
|
|
|
major = "3.20";
|
|
|
|
minor = "0";
|
|
|
|
name = "pygobject-${major}.${minor}";
|
2014-01-05 18:50:03 +00:00
|
|
|
|
2013-05-09 20:11:30 +01:00
|
|
|
src = fetchurl {
|
2016-04-03 06:28:15 +01:00
|
|
|
url = "mirror://gnome/sources/pygobject/${major}/${name}.tar.xz";
|
|
|
|
sha256 = "0ikzh3l7g1gjh8jj8vg6mdvrb25svp63gxcam4m0i404yh0lgari";
|
2013-05-09 20:11:30 +01:00
|
|
|
};
|
|
|
|
|
2016-08-26 22:18:32 +01:00
|
|
|
buildInputs = [ pkgconfig glib gobjectIntrospection ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];
|
2015-01-21 19:59:57 +00:00
|
|
|
propagatedBuildInputs = [ pycairo cairo ];
|
2013-05-09 20:11:30 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://live.gnome.org/PyGObject;
|
|
|
|
description = "Python bindings for Glib";
|
2016-08-26 22:18:32 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-05-09 20:11:30 +01:00
|
|
|
};
|
|
|
|
}
|