3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pygobject/3.nix

25 lines
759 B
Nix
Raw Normal View History

{ 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-09-29 13:17:46 +01:00
major = "3.22";
2016-04-03 06:28:15 +01:00
minor = "0";
name = "pygobject-${major}.${minor}";
src = fetchurl {
2016-04-03 06:28:15 +01:00
url = "mirror://gnome/sources/pygobject/${major}/${name}.tar.xz";
2016-09-29 13:17:46 +01:00
sha256 = "08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8a5cbe7";
};
2016-11-13 22:18:43 +00:00
outputs = [ "out" "dev" ];
buildInputs = [ pkgconfig glib gobjectIntrospection ]
++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];
2015-01-21 19:59:57 +00:00
propagatedBuildInputs = [ pycairo cairo ];
meta = {
homepage = http://live.gnome.org/PyGObject;
description = "Python bindings for Glib";
platforms = stdenv.lib.platforms.unix;
};
}