gnupg*: Improve the meta set

And use version from gnupg21 for gnupg1compat.
This commit is contained in:
Michael Weiss
2017-03-28 22:19:12 +02:00
parent 02e469fa04
commit c9ecc70880
4 changed files with 48 additions and 27 deletions
+4 -3
View File
@@ -1,7 +1,7 @@
{ stdenv, gnupg, coreutils, writeScript }:
stdenv.mkDerivation {
name = "gnupg1compat-0";
name = "gnupg1compat-${gnupg.version}";
builder = writeScript "gnupg1compat-builder" ''
# First symlink all top-level dirs
@@ -18,7 +18,8 @@ stdenv.mkDerivation {
${coreutils}/bin/ln -s gpgv2 $out/bin/gpgv
'';
meta = {
platforms = stdenv.lib.platforms.unix;
meta = gnupg.meta // {
description = gnupg.meta.description +
" with symbolic links for gpg and gpgv";
};
}