aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libtiff/.yandex_meta/override.nix
blob: 6eb6872b313dd97dc9419194d948998a67ecae40 (plain) (blame)
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
pkgs: attrs: with pkgs; rec {
  version = "4.6.0";

  src = fetchFromGitLab {
    owner = "libtiff";
    repo = "libtiff";
    rev = "v${version}";
    hash = "sha256-qCg5qjsPPynCHIg0JsPJldwVdcYkI68zYmyNAKUCoyw=";
  };

  patches = [];
  postPatch = "";

  nativeBuildInputs = [
    cmake
  ];

  buildInputs = [
    libjpeg
    libwebp
    xz
    zlib
    zstd
  ];

  cmakeFlags = [
    "-Dlzma=ON"
  ];
}