python38Packages.pygobject3: 3.38.0 → 3.40.1

This commit is contained in:
Jan Tojnar 2021-03-21 01:28:50 +00:00
parent 0109d298a1
commit 74b5d01fe0
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,25 +1,53 @@
{ lib, stdenv, fetchurl, buildPythonPackage, pkg-config, glib, gobject-introspection,
pycairo, cairo, which, ncurses, meson, ninja, isPy3k, gnome3 }:
{ lib
, stdenv
, fetchurl
, buildPythonPackage
, pkg-config
, glib
, gobject-introspection
, pycairo
, cairo
, which
, ncurses
, meson
, ninja
, isPy3k
, gnome3
}:
buildPythonPackage rec {
pname = "pygobject";
version = "3.38.0";
version = "3.40.1";
disabled = ! isPy3k;
outputs = [ "out" "dev" ];
disabled = !isPy3k;
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "A3LRu5Ei/Bn1AKJJsfOMK7Z0hQAPWIdJe0sgWz5whNU=";
sha256 = "0d80g5kgf2i9cginyhalvb7ibfk9g30yilqzmcsw6h6byj8xbih0";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [
pkg-config
meson
ninja
gobject-introspection
];
nativeBuildInputs = [ pkg-config meson ninja gobject-introspection ];
buildInputs = [ glib gobject-introspection ]
++ lib.optionals stdenv.isDarwin [ which ncurses ];
propagatedBuildInputs = [ pycairo cairo ];
buildInputs = [
glib
gobject-introspection
] ++ lib.optionals stdenv.isDarwin [
ncurses
];
propagatedBuildInputs = [
pycairo
cairo
];
passthru = {
updateScript = gnome3.updateScript {
@ -32,7 +60,7 @@ buildPythonPackage rec {
meta = with lib; {
homepage = "https://pygobject.readthedocs.io/";
description = "Python bindings for Glib";
license = licenses.gpl2;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};