mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
- gettext is required since the switch to binary translations catalogs - add shellcheck and shfmt to the optional dependencies for linting - clarify minimum required and recommended versions
37 lines
550 B
Nix
37 lines
550 B
Nix
let
|
|
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-25.05";
|
|
pkgs = import nixpkgs { config = {}; overlays = []; };
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
autoconf
|
|
automake
|
|
cmake
|
|
gcc
|
|
gettext
|
|
git
|
|
gnumake
|
|
gnupatch
|
|
libtool
|
|
meson
|
|
nasm
|
|
ninja
|
|
perl
|
|
pkg-config
|
|
SDL2
|
|
unzip
|
|
wget
|
|
# optional
|
|
ccache
|
|
luajitPackages.luacheck
|
|
p7zip
|
|
shellcheck
|
|
shfmt
|
|
];
|
|
|
|
shellHook = ''
|
|
export LD_LIBRARY_PATH=${pkgs.SDL2}/lib:$LD_LIBRARY_PATH
|
|
'';
|
|
}
|