2022-02-10 20:34:41 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, libassuan
|
|
|
|
, libgpg-error, popt, bemenu }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pinentry-bemenu";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.14.0";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "t-8ch";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
sha256 = "sha256-kiGUCcQIS58XjE4r0yiK4hJ85Sg5wrtBqeSYcgUKAmo=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2024-01-25 14:12:00 +00:00
|
|
|
mainProgram = "pinentry-bemenu";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
}
|