nixpkgs/pkgs/tools/security/pinentry-rofi/default.nix
2024-06-30 00:48:58 +02:00

43 lines
792 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, autoreconfHook
, autoconf-archive
, guile
, texinfo
, rofi
}:
stdenv.mkDerivation rec {
pname = "pinentry-rofi";
version = "2.1.1";
src = fetchFromGitHub {
owner = "plattfot";
repo = pname;
rev = version;
sha256 = "sha256-e7dpMivZrTHmRuAzBzDVRoUgvBt6NpZ43FRQtX2omHA=";
};
nativeBuildInputs = [
autoconf-archive
autoreconfHook
pkg-config
texinfo
];
buildInputs = [ guile ];
propagatedBuildInputs = [ rofi ];
meta = with lib; {
description = "Rofi frontend to pinentry";
homepage = "https://github.com/plattfot/pinentry-rofi";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ seqizz ];
mainProgram = "pinentry-rofi";
};
}