1{ fetchurl, stdenv }:
2
3let version = "0.9.14"; in
4stdenv.mkDerivation {
5 name = "check-${version}";
6
7 src = fetchurl {
8 url = "mirror://sourceforge/check/${version}/check-${version}.tar.gz";
9 sha256 = "02l4g79d81s07hzywcv1knwj5dyrwjiq2pgxaz7kidxi8m364wn2";
10 };
11
12 # Test can randomly fail: http://hydra.nixos.org/build/7243912
13 doCheck = false;
14
15 meta = with stdenv.lib; {
16 description = "Unit testing framework for C";
17
18 longDescription =
19 '' Check is a unit testing framework for C. It features a simple
20 interface for defining unit tests, putting little in the way of the
21 developer. Tests are run in a separate address space, so Check can
22 catch both assertion failures and code errors that cause
23 segmentation faults or other signals. The output from unit tests
24 can be used within source code editors and IDEs.
25 '';
26
27 homepage = http://check.sourceforge.net/;
28
29 license = licenses.lgpl2Plus;
30 platforms = platforms.all;
31 maintainers = with maintainers; [ wkennington ];
32 };
33}