1{lib, stdenv, fetchurl}:
2
3stdenv.mkDerivation rec {
4 pname = "cppunit";
5 version = "1.15.1";
6
7 src = fetchurl {
8 url = "https://dev-www.libreoffice.org/src/${pname}-${version}.tar.gz";
9 sha256 = "19qpqzy66bq76wcyadmi3zahk5v1ll2kig1nvg96zx9padkcdic9";
10 };
11
12 # Avoid blanket -Werror to evade build failures on less
13 # tested compilers.
14 configureFlags = [ "--disable-werror" ];
15
16 meta = with lib; {
17 homepage = "https://freedesktop.org/wiki/Software/cppunit/";
18 description = "C++ unit testing framework";
19 license = licenses.lgpl21;
20 platforms = platforms.linux ++ platforms.darwin;
21 };
22}