567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
28 lines
663 B
Nix
28 lines
663 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cppunit";
|
|
version = "1.15.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://dev-www.libreoffice.org/src/${pname}-${version}.tar.gz";
|
|
sha256 = "19qpqzy66bq76wcyadmi3zahk5v1ll2kig1nvg96zx9padkcdic9";
|
|
};
|
|
|
|
# Avoid blanket -Werror to evade build failures on less
|
|
# tested compilers.
|
|
configureFlags = [ "--disable-werror" ];
|
|
|
|
meta = {
|
|
homepage = "https://freedesktop.org/wiki/Software/cppunit/";
|
|
description = "C++ unit testing framework";
|
|
mainProgram = "DllPlugInTester";
|
|
license = lib.licenses.lgpl21;
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
};
|
|
}
|