Merge pull request #276704 from Ma27/passage-deps

passage: add additional deps to wrapper
This commit is contained in:
Maximilian Bosch 2023-12-26 23:47:42 +01:00 committed by GitHub
commit 98e04ab172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,12 @@
, substituteAll
, age
, getopt
, coreutils
, findutils
, gnugrep
, gnused
, qrencode ? null
, wl-clipboard ? null
, git ? null
, xclip ? null
# Used to pretty-print list of all stored passwords, but is not needed to fetch
@ -32,7 +38,18 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeBinaryWrapper ];
extraPath = lib.makeBinPath [ age git xclip tree ];
extraPath = lib.makeBinPath [
age
coreutils
findutils
git
gnugrep
gnused
qrencode
tree
wl-clipboard
xclip
];
# Using $0 is bad, it causes --help to mention ".passage-wrapped".
postInstall = ''
@ -46,7 +63,7 @@ stdenv.mkDerivation {
description = "Stores, retrieves, generates, and synchronizes passwords securely";
homepage = "https://github.com/FiloSottile/passage";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ kaction ];
maintainers = with maintainers; [ kaction ma27 ];
platforms = platforms.unix;
mainProgram = "passage";