Skip to content

Commit

Permalink
gnupg*: Improve the meta set
Browse files Browse the repository at this point in the history
And use version from gnupg21 for gnupg1compat.
  • Loading branch information
primeos committed Mar 28, 2017
1 parent 02e469f commit c9ecc70
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 27 deletions.
21 changes: 16 additions & 5 deletions pkgs/tools/security/gnupg/1.nix
Expand Up @@ -12,10 +12,21 @@ stdenv.mkDerivation rec {

doCheck = true;

meta = {
description = "Free implementation of the OpenPGP standard for encrypting and signing data";
homepage = http://www.gnupg.org/;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
meta = with stdenv.lib; {
homepage = "https://gnupg.org";
description = "Classic (1.4) release of the GNU Privacy Guard, a GPL OpenPGP implementation";
license = licenses.gpl3Plus;
longDescription = ''
The GNU Privacy Guard is the GNU project's complete and free
implementation of the OpenPGP standard as defined by RFC4880. GnuPG
"classic" (1.4) is the old standalone version which is most suitable for
older or embedded platforms. GnuPG allows to encrypt and sign your data
and communication, features a versatile key management system as well as
access modules for all kind of public key directories. GnuPG, also known
as GPG, is a command line tool with features for easy integration with
other applications. A wealth of frontend applications and libraries are
available.
'';
platforms = platforms.gnu; # arbitrary choice
};
}
7 changes: 4 additions & 3 deletions pkgs/tools/security/gnupg/1compat.nix
@@ -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
Expand All @@ -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";
};
}
32 changes: 15 additions & 17 deletions pkgs/tools/security/gnupg/20.nix
Expand Up @@ -44,24 +44,22 @@ stdenv.mkDerivation rec {

doCheck = true;

meta = {
homepage = "http://gnupg.org/";
description = "Free implementation of the OpenPGP standard for encrypting and signing data";
license = stdenv.lib.licenses.gpl3Plus;

meta = with stdenv.lib; {
homepage = "https://gnupg.org";
description = "Stable (2.0) release of the GNU Privacy Guard, a GPL OpenPGP implementation";
license = licenses.gpl3Plus;
longDescription = ''
GnuPG is the GNU project's complete and free implementation of
the OpenPGP standard as defined by RFC4880. GnuPG allows to
encrypt and sign your data and communication, features a
versatile key management system as well as access modules for all
kind of public key directories. GnuPG, also known as GPG, is a
command line tool with features for easy integration with other
applications. A wealth of frontend applications and libraries
are available. Version 2 of GnuPG also provides support for
S/MIME.
The GNU Privacy Guard is the GNU project's complete and free
implementation of the OpenPGP standard as defined by RFC4880. GnuPG
"stable" (2.0) is the current stable version for general use. This is
what most users are still using. GnuPG allows to encrypt and sign your
data and communication, features a versatile key management system as well
as access modules for all kind of public key directories. GnuPG, also
known as GPG, is a command line tool with features for easy integration
with other applications. A wealth of frontend applications and libraries
are available. Version 2 of GnuPG also provides support for S/MIME.
'';

maintainers = with stdenv.lib.maintainers; [ roconnor ];
platforms = stdenv.lib.platforms.all;
maintainers = with maintainers; [ roconnor ];
platforms = platforms.all;
};
}
15 changes: 13 additions & 2 deletions pkgs/tools/security/gnupg/21.nix
Expand Up @@ -48,9 +48,20 @@ stdenv.mkDerivation rec {
'';

meta = with stdenv.lib; {
homepage = http://gnupg.org;
description = "A complete and free implementation of the OpenPGP standard";
homepage = "https://gnupg.org";
description = "Modern (2.1) release of the GNU Privacy Guard, a GPL OpenPGP implementation";
license = licenses.gpl3Plus;
longDescription = ''
The GNU Privacy Guard is the GNU project's complete and free
implementation of the OpenPGP standard as defined by RFC4880. GnuPG
"modern" (2.1) is the latest development with a lot of new features.
GnuPG allows to encrypt and sign your data and communication, features a
versatile key management system as well as access modules for all kind of
public key directories. GnuPG, also known as GPG, is a command line tool
with features for easy integration with other applications. A wealth of
frontend applications and libraries are available. Version 2 of GnuPG
also provides support for S/MIME.
'';
maintainers = with maintainers; [ wkennington peti fpletz vrthra ];
platforms = platforms.all;
};
Expand Down

0 comments on commit c9ecc70

Please sign in to comment.