python2Packages.pygtk: fix build w/ -fpermissive

... and adopt the package: add @bryango to maintainers.
This commit is contained in:
Bryan Lai
2024-12-25 19:49:02 +08:00
parent de1864217b
commit 673076b0a8
@@ -58,7 +58,8 @@ buildPythonPackage rec {
env.NIX_CFLAGS_COMPILE =
lib.optionalString stdenv.hostPlatform.isDarwin "-ObjC"
+ lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) " -lpython2.7";
+ lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) " -lpython2.7"
+ " -fpermissive"; # downgrade code errors to warnings
installPhase = "installPhase";
@@ -94,5 +95,6 @@ buildPythonPackage rec {
homepage = "https://gitlab.gnome.org/Archive/pygtk";
platforms = platforms.all;
license = with licenses; [ lgpl21Plus ];
maintainers = with lib.maintainers; [ bryango ];
};
}