pythonPackages.pygobject3: 3.26.1 -> 3.30.2
This commit is contained in:
parent
2c8565a3ce
commit
372f97f715
@ -1,28 +1,40 @@
|
|||||||
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, glib, gobjectIntrospection, pycairo, cairo, which, ncurses}:
|
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, glib, gobjectIntrospection,
|
||||||
|
pycairo, cairo, which, ncurses, meson, ninja, isPy3k, gnome3 }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
major = "3.26";
|
|
||||||
minor = "1";
|
|
||||||
version = "${major}.${minor}";
|
|
||||||
format = "other";
|
|
||||||
pname = "pygobject";
|
pname = "pygobject";
|
||||||
name = pname + "-" + version;
|
version = "3.30.2";
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/pygobject/${major}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1afi0jdjd9sanrzjwhv7z1k7qxlb91fqa6yqc2dbpjkhkjdpnmzm";
|
sha256 = "15zd4w43js048y7fd1kdi6wpvccz1njjy60xw1ckvfy1qhikbz54";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
mesonFlags = [
|
||||||
|
"-Dpython=python${if isPy3k then "3" else "2" }"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig meson ninja ];
|
||||||
buildInputs = [ glib gobjectIntrospection ]
|
buildInputs = [ glib gobjectIntrospection ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];
|
||||||
propagatedBuildInputs = [ pycairo cairo ];
|
propagatedBuildInputs = [ pycairo cairo ];
|
||||||
|
|
||||||
meta = {
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "python3.pkgs.${pname}3";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
homepage = https://pygobject.readthedocs.io/;
|
homepage = https://pygobject.readthedocs.io/;
|
||||||
description = "Python bindings for Glib";
|
description = "Python bindings for Glib";
|
||||||
platforms = stdenv.lib.platforms.unix;
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ jtojnar ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user