File: shell.nix

package info (click to toggle)
subtile-ocr 0.2.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 304 kB
  • sloc: makefile: 9; sh: 1
file content (17 lines) | stat: -rw-r--r-- 307 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs ? import <nixpkgs> { } }:

pkgs.mkShell {
  nativeBuildInputs = with pkgs; [
    cargo
    pkgconfig
    rust-analyzer
    rustc
    rustfmt
    llvmPackages.clang
  ];
  buildInputs = with pkgs; [
    leptonica
    tesseract5
  ];
  LIBCLANG_PATH = pkgs.lib.makeLibraryPath [ pkgs.libclang.lib ];
}