2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, libtool, autoreconfHook}:
|
2011-09-07 03:12:38 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "CUnit";
|
2016-09-06 00:10:15 +02:00
|
|
|
version = "2.1-3";
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [autoconf automake libtool];
|
2011-09-07 03:12:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/cunit/CUnit/${version}/${pname}-${version}.tar.bz2";
|
2016-09-06 00:10:15 +02:00
|
|
|
sha256 = "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm";
|
2011-09-07 03:12:38 +02:00
|
|
|
};
|
2011-09-07 05:45:51 +02: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.
|
|
|
|
'';
|
|
|
|
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://cunit.sourceforge.net/";
|
2011-09-07 05:45:51 +02:00
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2011-09-07 05:45:51 +02:00
|
|
|
};
|
2011-09-07 03:12:38 +02:00
|
|
|
}
|