1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
# This is a nix-shell for use with the nix package manager.
# If you have nix installed, you may simply run `nix-shell`
# in this repo, and have all dependencies ready in the new shell.
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs;
[
stdenv
cmake
git # for TIMG_VERSION_FROM_GIT
pkg-config
graphicsmagick
libjpeg
libdeflate
ffmpeg
libexif
libsixel
librsvg cairo
poppler
# Don't include qoi and stb by default to see if the cmake
# fallback to third_party/ works.
#qoi
#stb
openslide
pandoc
clang-tools_18 # clang-format
];
}
|