diff --git a/pkgs/tools/graphics/leela/default.nix b/pkgs/tools/graphics/leela/default.nix new file mode 100644 index 000000000000..fa151420ebb5 --- /dev/null +++ b/pkgs/tools/graphics/leela/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, pkgconfig, poppler }: + +stdenv.mkDerivation { + name = "leela-12.fe7a35a"; + + src = fetchFromGitHub { + owner = "TrilbyWhite"; + repo = "Leela"; + rev = "576a60185b191d3a3030fef10492fe32d2125563"; + sha256 = "1k6n758r9dhjmc1pnpk6qzpg0q7pkq2hf18z3b0s2z198jpkg9s3"; + }; + + buildInputs = [ pkgconfig poppler ]; + + installFlags = [ "PREFIX=$(out)" "MANDIR=$(out)/share/man" ]; + + meta = { + description = "CLI frontend to the poppler-glib libary of PDF tools"; + homepage = https://github.com/TrilbyWhite/Leela; + license = stdenv.lib.licenses.gpl3; + maintainers = [ stdenv.lib.maintainers.puffnfresh ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cf40adb5c7ed..8476d3cd37ff 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2057,6 +2057,8 @@ let leafpad = callPackage ../applications/editors/leafpad { }; + leela = callPackage ../tools/graphics/leela { }; + lftp = callPackage ../tools/networking/lftp { }; libconfig = callPackage ../development/libraries/libconfig { };