Merge pull request #146613 from joshua-cooper/pinentry-bemenu

This commit is contained in:
Sandro 2022-02-10 01:09:34 +01:00 committed by GitHub
commit 467e93294d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 0 deletions

View File

@ -5462,6 +5462,12 @@
githubId = 221929;
name = "Jean-Baptiste Giraudeau";
};
jc = {
name = "Josh Cooper";
email = "josh@cooper.is";
github = "joshua-cooper";
githubId = 35612334;
};
jceb = {
name = "jceb";
email = "jceb@e-jc.de";

View File

@ -0,0 +1,25 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, libassuan
, libgpg-error, popt, bemenu }:
stdenv.mkDerivation rec {
pname = "pinentry-bemenu";
version = "0.9.0";
src = fetchFromGitHub {
owner = "t-8ch";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AFS4T7VqPga53/3rG8be9Q//6/2JJIe7+Ata33ewySg=";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ libassuan libgpg-error popt bemenu ];
meta = with lib; {
description = "Pinentry implementation based on bemenu";
homepage = "https://github.com/t-8ch/pinentry-bemenu";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jc ];
platforms = with platforms; linux;
};
}

View File

@ -8796,6 +8796,8 @@ with pkgs;
xcbuildHook = if stdenv.targetPlatform.isAarch64 then xcbuildHook else xcbuild6Hook;
};
pinentry-bemenu = callPackage ../tools/security/pinentry-bemenu { };
pingtcp = callPackage ../tools/networking/pingtcp { };
pinnwand = callPackage ../servers/pinnwand { };