nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python311Packages.pygpgme: disable

+11 -3
+11 -3
pkgs/development/python-modules/pygpgme/default.nix
··· 1 - { lib, buildPythonPackage, fetchurl, isPyPy 2 - , gpgme }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchurl 4 + , gpgme 5 + , isPyPy 6 + , pythonAtLeast 7 + }: 3 8 4 9 buildPythonPackage rec { 5 10 version = "0.3"; 6 11 pname = "pygpgme"; 7 - disabled = isPyPy; 12 + 13 + # Native code doesn't compile against the C API of Python 3.11: 14 + # https://bugs.launchpad.net/pygpgme/+bug/1996122 15 + disabled = isPyPy || pythonAtLeast "3.11"; 8 16 9 17 src = fetchurl { 10 18 url = "https://launchpad.net/pygpgme/trunk/${version}/+download/${pname}-${version}.tar.gz";