python38Packages.pygobject3: 3.38.0 → 3.40.1
This commit is contained in:
parent
0109d298a1
commit
74b5d01fe0
@ -1,25 +1,53 @@
|
|||||||
{ lib, stdenv, fetchurl, buildPythonPackage, pkg-config, glib, gobject-introspection,
|
{ lib
|
||||||
pycairo, cairo, which, ncurses, meson, ninja, isPy3k, gnome3 }:
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, buildPythonPackage
|
||||||
|
, pkg-config
|
||||||
|
, glib
|
||||||
|
, gobject-introspection
|
||||||
|
, pycairo
|
||||||
|
, cairo
|
||||||
|
, which
|
||||||
|
, ncurses
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, isPy3k
|
||||||
|
, gnome3
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pygobject";
|
pname = "pygobject";
|
||||||
version = "3.38.0";
|
version = "3.40.1";
|
||||||
|
|
||||||
disabled = ! isPy3k;
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
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 = [
|
||||||
buildInputs = [ glib gobject-introspection ]
|
glib
|
||||||
++ lib.optionals stdenv.isDarwin [ which ncurses ];
|
gobject-introspection
|
||||||
propagatedBuildInputs = [ pycairo cairo ];
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
ncurses
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pycairo
|
||||||
|
cairo
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
@ -32,7 +60,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://pygobject.readthedocs.io/";
|
homepage = "https://pygobject.readthedocs.io/";
|
||||||
description = "Python bindings for Glib";
|
description = "Python bindings for Glib";
|
||||||
license = licenses.gpl2;
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = with maintainers; [ jtojnar ];
|
maintainers = with maintainers; [ jtojnar ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user