2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, poppler }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-08-18 13:19:15 +00:00
|
|
|
pname = "leela";
|
|
|
|
version = "12.fe7a35a";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TrilbyWhite";
|
|
|
|
repo = "Leela";
|
|
|
|
rev = "576a60185b191d3a3030fef10492fe32d2125563";
|
|
|
|
sha256 = "1k6n758r9dhjmc1pnpk6qzpg0q7pkq2hf18z3b0s2z198jpkg9s3";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ poppler ];
|
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" "MANDIR=$(out)/share/man" ];
|
|
|
|
|
|
|
|
meta = {
|
2023-07-15 17:15:38 +00:00
|
|
|
description = "CLI frontend to the poppler-glib library of PDF tools";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/TrilbyWhite/Leela";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.puffnfresh ];
|
|
|
|
platforms = lib.platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "leela";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|