2010-04-13 10:56:14 +02:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-12-12 21:19:13 +01:00
|
|
|
name = "commoncpp2-1.8.1";
|
2009-09-20 19:01:19 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-04-13 10:56:14 +02:00
|
|
|
url = "mirror://gnu/commoncpp/${name}.tar.gz";
|
2010-12-12 21:19:13 +01:00
|
|
|
sha256 = "0kmgr5w3b1qwzxnsnw94q6rqs0hr8nbv9clf07ca2a2fyypx9kjk";
|
2009-09-20 19:01:19 +02:00
|
|
|
};
|
|
|
|
|
2010-04-13 10:56:14 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2010-11-18 11:16:54 +01:00
|
|
|
preBuild = ''
|
|
|
|
echo '#include <sys/stat.h>' >> inc/cc++/config.h
|
|
|
|
'';
|
|
|
|
|
2010-04-13 10:56:14 +02:00
|
|
|
meta = {
|
|
|
|
description = "GNU Common C++, a portable, highly optimized C++ class framework";
|
2009-09-20 19:01:19 +02:00
|
|
|
|
2010-04-13 10:56:14 +02:00
|
|
|
longDescription =
|
|
|
|
'' GNU Common C++ and GNU uCommon are very portable and highly
|
|
|
|
optimized class framework for writing C++ applications that need to
|
|
|
|
use threads and support concurrent sychronization, and that use
|
|
|
|
sockets, XML parsing, object serialization, thread-optimized String
|
|
|
|
and data structure classes, etc. This framework offers a class
|
|
|
|
foundation that hides platform differences from your C++ application
|
|
|
|
so that you need not write platform specific code. GNU Common C++
|
|
|
|
has been ported to compile nativily on most platforms which support
|
|
|
|
either posix threads, or on maybe be used with Debian hosted mingw32
|
|
|
|
to build native threading applications for Microsoft Windows.
|
|
|
|
'';
|
2009-09-20 19:01:19 +02:00
|
|
|
|
2010-04-13 10:56:14 +02:00
|
|
|
homepage = http://www.gnu.org/software/commoncpp/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2015-01-13 22:33:24 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
2014-08-09 12:28:16 +02:00
|
|
|
platforms = with stdenv.lib.platforms; allBut freebsd;
|
2009-09-20 19:01:19 +02:00
|
|
|
};
|
|
|
|
}
|