41 lines
757 B
Nix
41 lines
757 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, autoreconfHook
|
|
, autoconf-archive
|
|
, guile
|
|
, texinfo
|
|
, rofi
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pinentry-rofi";
|
|
version = "2.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "plattfot";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-H9Y7oPLpDuKtIy80HLS8/iXpOq8ZKiy8ZIH2NwguetY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|