core/pkgs/by-name/cu/cunit/default.nix

42 lines
869 B
Nix
Raw Normal View History

2024-06-30 08:12:46 +00:00
{
lib,
stdenv,
fetchurl,
autoconf,
automake,
libtool,
autoreconfHook,
}:
2024-05-02 00:46:19 +00:00
stdenv.mkDerivation rec {
pname = "CUnit";
version = "2.1-3";
2024-06-30 08:12:46 +00:00
nativeBuildInputs = [
autoreconfHook
autoconf
automake
];
buildInputs = [ libtool ];
2024-05-02 00:46:19 +00:00
src = fetchurl {
url = "mirror://sourceforge/cunit/CUnit/${version}/${pname}-${version}.tar.bz2";
sha256 = "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm";
};
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 = "https://cunit.sourceforge.net/";
license = lib.licenses.lgpl2;
platforms = lib.platforms.unix;
};
}