qgpgme: init at 1.9.0
This commit is contained in:
parent
05ef92e53a
commit
f5c00c43bb
@ -1,4 +1,7 @@
|
|||||||
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan, qt5 }:
|
{ stdenv, fetchurl, fetchpatch, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan
|
||||||
|
, qtbase ? null }:
|
||||||
|
|
||||||
|
let inherit (stdenv) lib system; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gpgme-1.9.0";
|
name = "gpgme-1.9.0";
|
||||||
@ -8,10 +11,20 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1ssc0gs02r4fasabk7c6v6r865k2j02mpb5g1vkpbmzsigdzwa8v";
|
sha256 = "1ssc0gs02r4fasabk7c6v6r865k2j02mpb5g1vkpbmzsigdzwa8v";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commitdiff_plain;h=5d4f977dac542340c877fdd4b1304fa8f6e058e6";
|
||||||
|
sha256 = "0swpxzd3x3b6h2ry2py9j8l0xp3vdw8rixxhgfavzia5p869qyyx";
|
||||||
|
name = "qgpgme-format-security.patch";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
outputs = [ "out" "dev" "info" ];
|
outputs = [ "out" "dev" "info" ];
|
||||||
outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool
|
outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool
|
||||||
|
|
||||||
propagatedBuildInputs = [ libgpgerror glib libassuan pth qt5.qtbase ];
|
propagatedBuildInputs =
|
||||||
|
[ libgpgerror glib libassuan pth ]
|
||||||
|
++ lib.optional (qtbase != null) qtbase;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gnupg ];
|
nativeBuildInputs = [ pkgconfig gnupg ];
|
||||||
|
|
||||||
@ -19,11 +32,9 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-fixed-path=${gnupg}/bin"
|
"--enable-fixed-path=${gnupg}/bin"
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [ ./gpgme_libsuffix.patch ];
|
|
||||||
|
|
||||||
# https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
|
# https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
|
||||||
NIX_CFLAGS_COMPILE =
|
NIX_CFLAGS_COMPILE =
|
||||||
with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
|
lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://gnupg.org/software/gpgme/index.html";
|
homepage = "https://gnupg.org/software/gpgme/index.html";
|
||||||
|
@ -9773,6 +9773,8 @@ with pkgs;
|
|||||||
|
|
||||||
fcitx-qt5 = callPackage ../tools/inputmethods/fcitx/fcitx-qt5.nix { };
|
fcitx-qt5 = callPackage ../tools/inputmethods/fcitx/fcitx-qt5.nix { };
|
||||||
|
|
||||||
|
qgpgme = callPackage ../development/libraries/gpgme { };
|
||||||
|
|
||||||
grantlee = callPackage ../development/libraries/grantlee/5.x.nix { };
|
grantlee = callPackage ../development/libraries/grantlee/5.x.nix { };
|
||||||
|
|
||||||
inherit (callPackage ../development/libraries/kirigami { })
|
inherit (callPackage ../development/libraries/kirigami { })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user