Files
nixpkgs/pkgs/development/python-modules/pygobject/3.nix
T

27 lines
794 B
Nix
Raw Normal View History

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