2016-09-05 22:10:15 +00:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, libtool, autoreconfHook}:
|
2011-09-07 01:12:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-05 22:10:15 +00:00
|
|
|
name = "CUnit-${version}";
|
|
|
|
version = "2.1-3";
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [autoconf automake libtool];
|
2011-09-07 01:12:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-09-05 22:10:15 +00:00
|
|
|
url = "mirror://sourceforge/cunit/CUnit/${version}/${name}.tar.bz2";
|
|
|
|
sha256 = "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm";
|
2011-09-07 01:12:38 +00:00
|
|
|
};
|
2011-09-07 03:45:51 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Unit Testing Framework for C";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
CUnit is a lightweight system for writing, administering, and running
|
|
|
|
unit tests in C. It provides C programmers a basic testing functionality
|
|
|
|
with a flexible variety of user interfaces.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://cunit.sourceforge.net/;
|
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-09-07 03:45:51 +00:00
|
|
|
};
|
2011-09-07 01:12:38 +00:00
|
|
|
}
|