1 { lib, stdenv, fetchFromGitHub, pkg-config, poppler }:
5 version = "12.fe7a35a";
7 src = fetchFromGitHub {
10 rev = "576a60185b191d3a3030fef10492fe32d2125563";
11 sha256 = "1k6n758r9dhjmc1pnpk6qzpg0q7pkq2hf18z3b0s2z198jpkg9s3";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ poppler ];
17 installFlags = [ "PREFIX=$(out)" "MANDIR=$(out)/share/man" ];
20 description = "CLI frontend to the poppler-glib library of PDF tools";
21 homepage = "https://github.com/TrilbyWhite/Leela";
22 license = lib.licenses.gpl3;
23 maintainers = [ lib.maintainers.puffnfresh ];
24 platforms = lib.platforms.linux;
25 mainProgram = "leela";