git.iko.soy/typeable/nixpkgs
on master help sign in
gnupg*: Improve the meta set

And use version from gnupg21 for gnupg1compat.

commitc9ecc70880c00239b9ea5f1bbf3a9930886c9ad8 authorMichael Weiss <dev.primeos@gmail.com> dateMon 27 Mar 2017, 21:47 (10 years ago) parent02e469f
4 files changed+48−27
pkgs/tools/security/gnupg/1.nix+16−5 pkgs/tools/security/gnupg/1compat.nix+4−3 pkgs/tools/security/gnupg/20.nix+15−17 pkgs/tools/security/gnupg/21.nix+13−2
pkgs/tools/security/gnupg/1.nix+16−5
@@ -12,10 +12,21 @@ stdenv.mkDerivation rec {
1212
1313 doCheck = true;
1414
15− meta = {
16− description = "Free implementation of the OpenPGP standard for encrypting and signing data";
17− homepage = http://www.gnupg.org/;
18− license = stdenv.lib.licenses.gpl3Plus;
19− platforms = stdenv.lib.platforms.gnu; # arbitrary choice
15+ meta = with stdenv.lib; {
16+ homepage = "https://gnupg.org";
17+ description = "Classic (1.4) release of the GNU Privacy Guard, a GPL OpenPGP implementation";
18+ license = licenses.gpl3Plus;
19+ longDescription = ''
20+ The GNU Privacy Guard is the GNU project's complete and free
21+ implementation of the OpenPGP standard as defined by RFC4880. GnuPG
22+ "classic" (1.4) is the old standalone version which is most suitable for
23+ older or embedded platforms. GnuPG allows to encrypt and sign your data
24+ and communication, features a versatile key management system as well as
25+ access modules for all kind of public key directories. GnuPG, also known
26+ as GPG, is a command line tool with features for easy integration with
27+ other applications. A wealth of frontend applications and libraries are
28+ available.
29+ '';
30+ platforms = platforms.gnu; # arbitrary choice
2031 };
2132}
pkgs/tools/security/gnupg/1compat.nix+4−3
@@ -1,7 +1,7 @@
11{ stdenv, gnupg, coreutils, writeScript }:
22
33stdenv.mkDerivation {
4− name = "gnupg1compat-0";
4+ name = "gnupg1compat-${gnupg.version}";
55
66 builder = writeScript "gnupg1compat-builder" ''
77 # First symlink all top-level dirs
@@ -18,7 +18,8 @@ stdenv.mkDerivation {
1818 ${coreutils}/bin/ln -s gpgv2 $out/bin/gpgv
1919 '';
2020
21− meta = {
22− platforms = stdenv.lib.platforms.unix;
21+ meta = gnupg.meta // {
22+ description = gnupg.meta.description +
23+ " with symbolic links for gpg and gpgv";
2324 };
2425}
pkgs/tools/security/gnupg/20.nix+15−17
@@ -44,24 +44,22 @@ stdenv.mkDerivation rec {
4444
4545 doCheck = true;
4646
47− meta = {
48− homepage = "http://gnupg.org/";
49− description = "Free implementation of the OpenPGP standard for encrypting and signing data";
50− license = stdenv.lib.licenses.gpl3Plus;
51−
47+ meta = with stdenv.lib; {
48+ homepage = "https://gnupg.org";
49+ description = "Stable (2.0) release of the GNU Privacy Guard, a GPL OpenPGP implementation";
50+ license = licenses.gpl3Plus;
5251 longDescription = ''
53− GnuPG is the GNU project's complete and free implementation of
54− the OpenPGP standard as defined by RFC4880. GnuPG allows to
55− encrypt and sign your data and communication, features a
56− versatile key management system as well as access modules for all
57− kind of public key directories. GnuPG, also known as GPG, is a
58− command line tool with features for easy integration with other
59− applications. A wealth of frontend applications and libraries
60− are available. Version 2 of GnuPG also provides support for
61− S/MIME.
52+ The GNU Privacy Guard is the GNU project's complete and free
53+ implementation of the OpenPGP standard as defined by RFC4880. GnuPG
54+ "stable" (2.0) is the current stable version for general use. This is
55+ what most users are still using. GnuPG allows to encrypt and sign your
56+ data and communication, features a versatile key management system as well
57+ as access modules for all kind of public key directories. GnuPG, also
58+ known as GPG, is a command line tool with features for easy integration
59+ with other applications. A wealth of frontend applications and libraries
60+ are available. Version 2 of GnuPG also provides support for S/MIME.
6261 '';
63−
64− maintainers = with stdenv.lib.maintainers; [ roconnor ];
65− platforms = stdenv.lib.platforms.all;
62+ maintainers = with maintainers; [ roconnor ];
63+ platforms = platforms.all;
6664 };
6765}
pkgs/tools/security/gnupg/21.nix+13−2
@@ -48,9 +48,20 @@ stdenv.mkDerivation rec {
4848 '';
4949
5050 meta = with stdenv.lib; {
51− homepage = http://gnupg.org;
52− description = "A complete and free implementation of the OpenPGP standard";
51+ homepage = "https://gnupg.org";
52+ description = "Modern (2.1) release of the GNU Privacy Guard, a GPL OpenPGP implementation";
5353 license = licenses.gpl3Plus;
54+ longDescription = ''
55+ The GNU Privacy Guard is the GNU project's complete and free
56+ implementation of the OpenPGP standard as defined by RFC4880. GnuPG
57+ "modern" (2.1) is the latest development with a lot of new features.
58+ GnuPG allows to encrypt and sign your data and communication, features a
59+ versatile key management system as well as access modules for all kind of
60+ public key directories. GnuPG, also known as GPG, is a command line tool
61+ with features for easy integration with other applications. A wealth of
62+ frontend applications and libraries are available. Version 2 of GnuPG
63+ also provides support for S/MIME.
64+ '';
5465 maintainers = with maintainers; [ wkennington peti fpletz vrthra ];
5566 platforms = platforms.all;
5667 };