1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 10:56:56 +00:00
nixpkgs/pkgs/development/python-modules/pygobject/3.nix

29 lines
844 B
Nix
Raw Normal View History

{ stdenv, fetchurl, buildPythonPackage, python, pkgconfig, glib, gobjectIntrospection, pycairo, cairo, which, ncurses}:
2014-05-20 12:37:09 +01:00
buildPythonPackage rec {
major = "3.26";
minor = "1";
version = "${major}.${minor}";
format = "other";
pname = "pygobject";
name = pname + "-" + version;
src = fetchurl {
2016-04-03 06:28:15 +01:00
url = "mirror://gnome/sources/pygobject/${major}/${name}.tar.xz";
sha256 = "1afi0jdjd9sanrzjwhv7z1k7qxlb91fqa6yqc2dbpjkhkjdpnmzm";
};
2016-11-13 22:18:43 +00:00
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib gobjectIntrospection ]
++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];
2015-01-21 19:59:57 +00:00
propagatedBuildInputs = [ pycairo cairo ];
meta = {
homepage = https://pygobject.readthedocs.io/;
description = "Python bindings for Glib";
platforms = stdenv.lib.platforms.unix;
};
}