2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, libtool, autoreconfHook}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "CUnit";
|
|
|
|
version = "2.1-3";
|
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook autoconf automake ];
|
|
|
|
buildInputs = [libtool];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/cunit/CUnit/${version}/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Unit Testing Framework for C";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://cunit.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|