summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/li/libagar_test/package.nix
blob: 210aee5180ae5fa548f9a72cae1a31633e442467 (plain)
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
32
33
34
35
{
  lib,
  stdenv,
  libagar,
  perl,
  libjpeg,
  libpng,
  openssl,
}:
stdenv.mkDerivation {
  pname = "libagar-test";
  inherit (libagar) version src;

  sourceRoot = "agar-${libagar.version}/tests";

  configureFlags = [ "--with-agar=${libagar}" ];

  buildInputs = [
    perl
    libagar
    libjpeg
    libpng
    openssl
  ];

  meta = {
    description = "Tests for libagar";
    mainProgram = "agartest";
    homepage = "http://libagar.org/index.html";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ ramkromberg ];
    platforms = lib.platforms.linux;
    broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
  };
}