2017-03-21 05:01:17 -07:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, python, pkgconfig, glib, gobjectIntrospection, pycairo, cairo, which, ncurses}:
|
2014-05-20 04:37:09 -07:00
|
|
|
|
2017-03-21 05:01:17 -07:00
|
|
|
buildPythonPackage rec {
|
2017-06-25 09:59:23 -07:00
|
|
|
major = "3.24";
|
|
|
|
minor = "1";
|
2016-04-02 22:28:15 -07:00
|
|
|
name = "pygobject-${major}.${minor}";
|
2017-03-21 05:01:17 -07:00
|
|
|
format = "other";
|
2014-01-05 10:50:03 -08:00
|
|
|
|
2013-05-09 12:11:30 -07:00
|
|
|
src = fetchurl {
|
2016-04-02 22:28:15 -07:00
|
|
|
url = "mirror://gnome/sources/pygobject/${major}/${name}.tar.xz";
|
2017-06-25 09:59:23 -07:00
|
|
|
sha256 = "1zdzznrj2s1gsrv2z4r0n88fzba8zjc1n2r313xi77lhl1daja56";
|
2013-05-09 12:11:30 -07:00
|
|
|
};
|
|
|
|
|
2016-11-13 14:18:43 -08:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2016-08-26 14:18:32 -07:00
|
|
|
buildInputs = [ pkgconfig glib gobjectIntrospection ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];
|
2015-01-21 11:59:57 -08:00
|
|
|
propagatedBuildInputs = [ pycairo cairo ];
|
2013-05-09 12:11:30 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://live.gnome.org/PyGObject;
|
|
|
|
description = "Python bindings for Glib";
|
2016-08-26 14:18:32 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-05-09 12:11:30 -07:00
|
|
|
};
|
|
|
|
}
|