koreader-from-src: add more sources
This commit is contained in:
parent
7b8af3e719
commit
2fdf95cea6
|
@ -13,9 +13,11 @@
|
|||
, gnutar
|
||||
, gtk3-x11
|
||||
, luajit
|
||||
, pkg-config
|
||||
, sdcv
|
||||
, SDL2
|
||||
, substituteAll
|
||||
, which
|
||||
}:
|
||||
let
|
||||
luajit_lua52 = luajit.override { enable52Compat = true; };
|
||||
|
@ -69,6 +71,8 @@ stdenv.mkDerivation rec {
|
|||
git
|
||||
libtool
|
||||
makeWrapper
|
||||
pkg-config
|
||||
which
|
||||
# luajit_lua52.pkgs.luarocks
|
||||
];
|
||||
buildInputs = [
|
||||
|
|
|
@ -30,6 +30,26 @@
|
|||
rev = "tags/v1.0.12";
|
||||
hash = "sha256-L4m/F9rs8fiv9rSf8oy7P6cthhupc6R/lCv30PLiQ4M=";
|
||||
};
|
||||
giflib = {
|
||||
url = "https://gitlab.com/koreader/giflib.git";
|
||||
rev = "5.1.4";
|
||||
hash = "sha256-znbY4tliXHXVLBd8sTKrbglOdCUb7xhcCQsDDWcQfhw=";
|
||||
};
|
||||
glib = {
|
||||
url = "https://github.com/GNOME/glib.git";
|
||||
rev = "2.58.3";
|
||||
hash = "sha256-KmJXCJ6h2QhPyK1axk+Y9+yJzO0wnCczcogopxGShJc=";
|
||||
};
|
||||
harfbuzz = {
|
||||
url = "https://github.com/harfbuzz/harfbuzz.git";
|
||||
rev = "8.0.1";
|
||||
hash = "sha256-qh04AsZlymNcUtZ3fytA9+Jk5PjPYm8UH75kBqZNsw4=";
|
||||
};
|
||||
kobo-usbms = {
|
||||
url = "https://github.com/koreader/KoboUSBMS.git";
|
||||
rev = "tags/v1.3.8";
|
||||
hash = "sha256-HZNcjLqkZk2YSnt0ynbUN9grJlBnF0zEwiN7fajNdrg=";
|
||||
};
|
||||
leptonica = {
|
||||
url = "https://github.com/DanBloomberg/leptonica.git";
|
||||
rev = "1.74.1";
|
||||
|
@ -50,11 +70,56 @@
|
|||
rev = "v1.6.40";
|
||||
hash = "sha256-Rad7Y5Z9PUCipBTQcB7LEP8fIVTG3JsnMeknUkZ/rRg=";
|
||||
};
|
||||
libunibreak = {
|
||||
url = "https://github.com/adah1972/libunibreak.git";
|
||||
rev = "tags/libunibreak_5_1";
|
||||
hash = "sha256-hjgT5DCQ6KFXKlxk9LLzxGHz6B71X/3Ot7ipK3KY85A=";
|
||||
};
|
||||
libwebp = {
|
||||
url = "https://github.com/webmproject/libwebp.git";
|
||||
rev = "v1.3.1";
|
||||
hash = "sha256-ddDL/nnBikbm6YznlyCcBgmq2Qzo0MjIwMzN4/kzWqk=";
|
||||
};
|
||||
libzmq = {
|
||||
url = "https://github.com/zeromq/libzmq";
|
||||
rev = "883e95b22e0bffffa72312ea1fec76199afbe458";
|
||||
hash = "sha256-R76EREtHsqcoKxKrgT8gfEf9pIWdLTBXvF9cDvjEf3E=";
|
||||
};
|
||||
lj-wpaclient = {
|
||||
url = "https://github.com/koreader/lj-wpaclient.git";
|
||||
rev = "2f93beb3071e6ebb57c783bd5b92f83aa5ebb757";
|
||||
hash = "sha256-ilJviGZTvL2i1TN5lHQ4eA9pFiM7NlXD+v9ofv520b8=";
|
||||
};
|
||||
lodepng = {
|
||||
url = "https://github.com/lvandeve/lodepng.git";
|
||||
rev = "c18b949b71f45e78b1f9a28c5d458bce0da505d6";
|
||||
hash = "sha256-AAw6I+MxDaxmGpjC5efxuBNw7Lx8FXwg2TEfl6LfPfQ=";
|
||||
};
|
||||
lua-htmlparser = {
|
||||
url = "https://github.com/msva/lua-htmlparser";
|
||||
rev = "5ce9a775a345cf458c0388d7288e246bb1b82bff";
|
||||
hash = "sha256-aSTLSfqz/MIDFVRwtBlDNBUhPb7KqOl32/Y62Hdec1s=";
|
||||
};
|
||||
luajit = {
|
||||
url = "https://github.com/LuaJIT/LuaJIT";
|
||||
rev = "8635cbabf3094c4d8bd00578c7d812bea87bb2d3";
|
||||
hash = "sha256-pfMNQFulW6AEwAVPxn9wUdbRg3ViHbGVCCke5NSIgTo=";
|
||||
};
|
||||
lua-rapidjson = {
|
||||
url = "https://github.com/xpol/lua-rapidjson";
|
||||
rev = "242b40c8eaceb0cc43bcab88309736461cac1234";
|
||||
hash = "sha256-y/czEVPtCt4uN1n49Qi7BrgZmkG+SDXlM5D2GvvO2qg=";
|
||||
};
|
||||
luasec = {
|
||||
url = "https://github.com/brunoos/luasec";
|
||||
rev = "tags/v1.3.1";
|
||||
hash = "sha256-3iYRNQoVk5HFjDSqRRmg1taSqeT2cHFil36vxjrEofo=";
|
||||
};
|
||||
luasocket = {
|
||||
url = "https://github.com/lunarmodules/luasocket";
|
||||
rev = "8c2ff7217e2a205eb107a6f48b04ff1b2b3090a1";
|
||||
hash = "sha256-Y35QYNLznQmErr6rIjxLzw0/6Y7y8TbzD4yaEdgEljA=";
|
||||
};
|
||||
tesseract = {
|
||||
url = "https://github.com/tesseract-ocr/tesseract.git";
|
||||
rev = "60176fc5ae5e7f6bdef60c926a4b5ea03de2bfa7";
|
||||
|
@ -69,6 +134,10 @@
|
|||
|
||||
externalProjects = {
|
||||
# dropbear = TODO
|
||||
# gettext = TODO
|
||||
# libffi = TODO
|
||||
# libiconv = TODO
|
||||
# lpeg = TODO
|
||||
zlib = {
|
||||
url = "http://gentoo.osuosl.org/distfiles/zlib-1.2.13.tar.xz";
|
||||
hash = "sha256-0Uw44xOvw1qah2Da3yYEL1HqD10VSwYwox2gVAEH+5g=";
|
||||
|
|
Loading…
Reference in New Issue
Block a user