1{ fetchurl, stdenv }:
2
3stdenv.mkDerivation rec {
4 name = "commoncpp2-1.8.1";
5
6 src = fetchurl {
7 url = "mirror://gnu/commoncpp/${name}.tar.gz";
8 sha256 = "0kmgr5w3b1qwzxnsnw94q6rqs0hr8nbv9clf07ca2a2fyypx9kjk";
9 };
10
11 doCheck = true;
12
13 preBuild = ''
14 echo '#include <sys/stat.h>' >> inc/cc++/config.h
15 '';
16
17 meta = {
18 description = "GNU Common C++, a portable, highly optimized C++ class framework";
19
20 longDescription =
21 '' GNU Common C++ and GNU uCommon are very portable and highly
22 optimized class framework for writing C++ applications that need to
23 use threads and support concurrent sychronization, and that use
24 sockets, XML parsing, object serialization, thread-optimized String
25 and data structure classes, etc. This framework offers a class
26 foundation that hides platform differences from your C++ application
27 so that you need not write platform specific code. GNU Common C++
28 has been ported to compile nativily on most platforms which support
29 either posix threads, or on maybe be used with Debian hosted mingw32
30 to build native threading applications for Microsoft Windows.
31 '';
32
33 homepage = http://www.gnu.org/software/commoncpp/;
34 license = stdenv.lib.licenses.gpl2Plus;
35 maintainers = [ stdenv.lib.maintainers.marcweber ];
36 platforms = with stdenv.lib.platforms; linux;
37 };
38}