Merge pull request #233036 from rhendric/rhendric/python311Packages.pygpgme

python311Packages.pygpgme: disable
This commit is contained in:
Ryan Lahfa 2023-05-20 17:50:17 +02:00 committed by GitHub
commit 959c0df85f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,18 @@
{ lib, buildPythonPackage, fetchurl, isPyPy
, gpgme }:
{ lib
, buildPythonPackage
, fetchurl
, gpgme
, isPyPy
, pythonAtLeast
}:
buildPythonPackage rec {
version = "0.3";
pname = "pygpgme";
disabled = isPyPy;
# Native code doesn't compile against the C API of Python 3.11:
# https://bugs.launchpad.net/pygpgme/+bug/1996122
disabled = isPyPy || pythonAtLeast "3.11";
src = fetchurl {
url = "https://launchpad.net/pygpgme/trunk/${version}/+download/${pname}-${version}.tar.gz";