nixpkgs/pkgs/tools/security/pinentry-bemenu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
714 B
Nix
Raw Normal View History

2021-11-19 11:04:14 +00:00
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, libassuan
, libgpg-error, popt, bemenu }:
stdenv.mkDerivation rec {
pname = "pinentry-bemenu";
2022-10-22 00:16:05 +00:00
version = "0.12.0";
2021-11-19 11:04:14 +00:00
src = fetchFromGitHub {
owner = "t-8ch";
repo = pname;
rev = "v${version}";
2022-10-22 00:16:05 +00:00
sha256 = "sha256-5ll4a/1Ughx0s2l/mcIsp1g4oNoNhm0RWvY/tXDvPGE=";
2021-11-19 11:04:14 +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;
};
}