1
0
forked from colin/nix-files

koreader-from-src: 2024.01 -> 2024.03

This commit is contained in:
Colin 2024-03-04 08:19:41 +00:00
parent 9416ef1ff6
commit 4fc2ffef56
2 changed files with 10 additions and 10 deletions

View File

@ -77,14 +77,14 @@
}:
let
sources = callPackage ./sources.nix { luajit = luajit52; };
version = "2024.01";
version = "2024.03";
src = fetchFromGitHub {
owner = "koreader";
repo = "koreader";
name = "koreader"; # needed because `srcs = ` in the outer derivation is a list
fetchSubmodules = true;
rev = "v${version}";
hash = "sha256-0ftpMnu3vMwEj2cyzn01E1lCHpE3HtnjyytH3BuRBcU=";
hash = "sha256-/51pOGSAoaS0gOKlqNKruwaKY5qylzCpeNUrWyzYTpA=";
};
# XXX: for some inscrutable reason, `enable52Compat` is *partially* broken, only when cross compiling.
# `table.unpack` is non-nil, but `table.pack` is nil.

View File

@ -84,8 +84,8 @@ in
# };
fbink = {
source.url = "https://github.com/NiLuJe/FBInk.git";
source.rev = "ae9dd275de369b1b34e1b566bca29573f06f38a2";
source.hash = "sha256-wkyl9xtw9ocjGGArvfGa1qjamwgywPktnZJNfdychB0=";
source.rev = "1a989b30a195ca240a3cf37f9de61b4b3c7e891c";
source.hash = "sha256-O3bZzvuj/BRVV+UoutaaZZgGZws2J/i5ArfBHbz6omI=";
# package: not packaged for nix
};
# freetype2 = {
@ -121,8 +121,8 @@ in
# };
kobo-usbms = {
source.url = "https://github.com/koreader/KoboUSBMS.git";
source.rev = "3daab316d3aff2b43ced9c0b18e6ecdeec953e4a";
source.hash = "sha256-iBbbKCpi0/velkX91Qju0oXLZtRYGesbra1huKnGQFE=";
source.rev = "v1.3.9";
source.hash = "sha256-/yYpagekWlfTrXu/1DNTmBmdd3IkCDjRtslRv13mtCg=";
# package: not in nixpkgs
};
leptonica = {
@ -176,8 +176,8 @@ in
};
lodepng = {
source.url = "https://github.com/lvandeve/lodepng.git";
source.rev = "c18b949b71f45e78b1f9a28c5d458bce0da505d6";
source.hash = "sha256-AAw6I+MxDaxmGpjC5efxuBNw7Lx8FXwg2TEfl6LfPfQ=";
source.rev = "d398e0f10d152a5d17fa30463474dc9f56523f9c";
source.hash = "sha256-ApOHUgU6X1rHwyjAHA/0Nt+buDFqY2ttXEnEvdrRl3A=";
# package: not in nixpkgs, except in source-only form (mujoco.pin.lodepng)
};
lua-htmlparser = {
@ -242,8 +242,8 @@ in
};
nanosvg = {
source.url = "https://github.com/memononen/nanosvg.git";
source.rev = "9da543e8329fdd81b64eb48742d8ccb09377aed1";
source.hash = "sha256-VOiN6583DtzGYPRkl19VG2QvSzl4T9HaynBuNcvZf94=";
source.rev = "93ce879dc4c04a3ef1758428ec80083c38610b1f";
source.hash = "sha256-ZtenaXJqMZr2+BxYENG1zUoQ+Qoxlxy0m/1YfJBKAFk=";
machineAgnostic = true;
package = nanosvg.src; # KOReader only wants the .h files, but decides to do that without even building it.
};