mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
24 lines
652 B
Nix
24 lines
652 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 = with lib; {
|
|
homepage = "https://freedesktop.org/wiki/Software/cppunit/";
|
|
description = "C++ unit testing framework";
|
|
mainProgram = "DllPlugInTester";
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
};
|
|
}
|