Unverified Commit 959c0df8 authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

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

python311Packages.pygpgme: disable
parents 62447bf7 e32dd645
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
{ 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";