pinentry: change attributes to dashes, alias old ones

This commit is contained in:
Florian Klink 2019-10-14 00:14:42 +02:00 committed by worldofpeace
parent cb0adc11ff
commit 511b1823fc
3 changed files with 12 additions and 7 deletions

View File

@ -1,5 +1,5 @@
{ mkDerivation, fetchFromGitHub, lib, makeWrapper, pkgconfig
, kcoreaddons, ki18n, kwallet, mksh, pinentry_qt5 }:
, kcoreaddons, ki18n, kwallet, mksh, pinentry-qt }:
mkDerivation rec {
pname = "kwalletcli";
@ -36,7 +36,7 @@ mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/pinentry-kwallet \
--prefix PATH : $out/bin:${lib.makeBinPath [ pinentry_qt5 ]} \
--prefix PATH : $out/bin:${lib.makeBinPath [ pinentry-qt ]} \
--set-default PINENTRY pinentry-qt
'';

View File

@ -290,6 +290,11 @@ mapAliases ({
pg_hll = postgresqlPackages.pg_hll;
pg_cron = postgresqlPackages.pg_cron;
pg_topn = postgresqlPackages.pg_topn;
pinentry_curses = pinentry-curses; # added 2019-10-14
pinentry_emacs = pinentry-emacs; # added 2019-10-14
pinentry_gtk2 = pinentry-gtk2; # added 2019-10-14
pinentry_qt = pinentry-qt; # added 2019-10-14
pinentry_gnome = pinentry-gnome; # added 2019-10-14
postgis = postgresqlPackages.postgis;
# end
ppl-address-book = throw "deprecated in 2019-05-02: abandoned by upstream.";

View File

@ -5525,11 +5525,11 @@ in
libcap = if stdenv.isDarwin then null else libcap;
};
pinentry_curses = (stdenv.lib.getOutput "curses" pinentry);
pinentry_emacs = (stdenv.lib.getOutput "emacs" pinentry);
pinentry_gtk2 = (stdenv.lib.getOutput "gtk2" pinentry);
pinentry_qt = (stdenv.lib.getOutput "qt" pinentry);
pinentry_gnome = (stdenv.lib.getOutput "gnome" pinentry);
pinentry-curses = (stdenv.lib.getOutput "curses" pinentry);
pinentry-emacs = (stdenv.lib.getOutput "emacs" pinentry);
pinentry-gtk2 = (stdenv.lib.getOutput "gtk2" pinentry);
pinentry-qt = (stdenv.lib.getOutput "qt" pinentry);
pinentry-gnome = (stdenv.lib.getOutput "gnome" pinentry);
pinentry_mac = callPackage ../tools/security/pinentry/mac.nix {
inherit (darwin.apple_sdk.frameworks) Cocoa;