File: shell.nix

package info (click to toggle)
timg 1.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,452 kB
  • sloc: ansic: 14,381; cpp: 5,356; pascal: 166; sh: 13; makefile: 9
file content (31 lines) | stat: -rw-r--r-- 700 bytes parent folder | download
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
    ];
}