Unverified Commit b564f803 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

Merge pull request #226123 from amjoseph-nixpkgs/pr/fixcross/gpgme

gpgme: fix cross, drop python2
parents e3b18e82 08c78eaa
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
, qtbase ? null
, pythonSupport ? false
, swig2 ? null
, python ? null
# only for passthru.tests
, libsForQt5
, python3
@@ -51,12 +50,16 @@ stdenv.mkDerivation rec {
    pkg-config
    texinfo
  ] ++ lib.optionals pythonSupport [
    python3.pythonForBuild
    ncurses
    python
    swig2
    which
  ];

  buildInputs = lib.optionals pythonSupport [
    python3
  ];

  propagatedBuildInputs = [
    glib
    libassuan
+1 −1
Original line number Diff line number Diff line
@@ -4131,7 +4131,7 @@ self: super: with self; {

  gpgme = toPythonModule (pkgs.gpgme.override {
    pythonSupport = true;
    inherit python;
    python3 = python;
  });

  gphoto2 = callPackage ../development/python-modules/gphoto2 { };