depot/third_party/nixpkgs/pkgs/tools/security/pinentry-bemenu/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

25 lines
713 B
Nix

{ 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;
};
}