python311Packages.pygpgme: disable

This commit is contained in:
Ryan Hendrickson 2023-05-20 11:08:52 -04:00
parent 95483d41fa
commit e32dd64558

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";