mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
43 lines
792 B
Nix
43 lines
792 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, autoreconfHook
|
|
, autoconf-archive
|
|
, guile
|
|
, texinfo
|
|
, rofi
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pinentry-rofi";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "plattfot";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-E904PLYuIvlew2WHVEwU2bXp6Tc6+lTSVB/m9b9v+z8=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|