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