summary refs log tree commit diff
path: root/pkgs/development/python-modules/pygobject/3.nix
blob: 77a529906469817048c96a1e6a9d77ca740a998d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, python, pkgconfig, glib, gobjectIntrospection, pycairo, cairo }:

stdenv.mkDerivation rec {
  major = "3.20";
  minor = "0";
  name = "pygobject-${major}.${minor}";

  src = fetchurl {
    url = "mirror://gnome/sources/pygobject/${major}/${name}.tar.xz";
    sha256 = "0ikzh3l7g1gjh8jj8vg6mdvrb25svp63gxcam4m0i404yh0lgari";
  };

  buildInputs = [ python pkgconfig glib gobjectIntrospection ];
  propagatedBuildInputs = [ pycairo cairo ];

  passthru.pythonPath = [];

  meta = {
    homepage = http://live.gnome.org/PyGObject;
    description = "Python bindings for Glib";
  };
}