Commit e32dd645 authored by Ryan Hendrickson's avatar Ryan Hendrickson
Browse files

python311Packages.pygpgme: disable

parent 95483d41
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";