1 { lib, stdenv, fetchurl, bsdbuild, libagar, perl, libjpeg, libpng, openssl }:
3 let srcs = import ./srcs.nix { inherit fetchurl; }; in
5 pname = "libagar-test";
6 inherit (srcs) version src;
8 sourceRoot = "agar-1.5.0/tests";
11 substituteInPlace configure.in \
12 --replace '_BSD_SOURCE' '_DEFAULT_SOURCE'
13 cat configure.in | ${bsdbuild}/bin/mkconfigure > configure
16 configureFlags = [ "--with-agar=${libagar}" ];
18 buildInputs = [ perl bsdbuild libagar libjpeg libpng openssl ];
21 description = "Tests for libagar";
22 homepage = "http://libagar.org/index.html";
23 license = with licenses; bsd3;
24 maintainers = with maintainers; [ ramkromberg ];
25 platforms = with platforms; linux;