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