Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 autoconf, 6 automake, 7 libtool, 8 autoreconfHook, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "CUnit"; 13 version = "2.1-3"; 14 15 nativeBuildInputs = [ 16 autoreconfHook 17 autoconf 18 automake 19 ]; 20 buildInputs = [ libtool ]; 21 22 src = fetchurl { 23 url = "mirror://sourceforge/cunit/CUnit/${version}/CUnit-${version}.tar.bz2"; 24 sha256 = "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm"; 25 }; 26 27 meta = { 28 description = "Unit Testing Framework for C"; 29 30 longDescription = '' 31 CUnit is a lightweight system for writing, administering, and running 32 unit tests in C. It provides C programmers a basic testing functionality 33 with a flexible variety of user interfaces. 34 ''; 35 36 homepage = "https://cunit.sourceforge.net/"; 37 38 license = lib.licenses.lgpl2; 39 platforms = lib.platforms.unix; 40 }; 41}