2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cppunit";
|
|
|
|
version = "1.15.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dev-www.libreoffice.org/src/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "19qpqzy66bq76wcyadmi3zahk5v1ll2kig1nvg96zx9padkcdic9";
|
|
|
|
};
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
# Avoid blanket -Werror to evade build failures on less
|
|
|
|
# tested compilers.
|
|
|
|
configureFlags = [ "--disable-werror" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://freedesktop.org/wiki/Software/cppunit/";
|
|
|
|
description = "C++ unit testing framework";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "DllPlugInTester";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|