2011-04-12 10:05:35 +02:00
|
|
|
{ fetchurl, stdenv, gnutls, pkgconfig, zlib, libgcrypt }:
|
2011-01-19 22:17:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-12-01 23:44:34 +01:00
|
|
|
name = "ucommon-5.0.7";
|
2011-01-19 22:17:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-12-01 23:44:34 +01:00
|
|
|
url = mirror://gnu/commoncpp/ucommon-5.0.7.tar.gz;
|
|
|
|
sha256 = "0zr4zjwb62dpq7aa88vclhv2y8j7glkq693kwmb8agfx0fv8nkny";
|
2011-01-19 22:17:05 +01:00
|
|
|
};
|
|
|
|
|
2011-01-19 22:48:05 +01:00
|
|
|
buildInputs = [ pkgconfig gnutls zlib ];
|
2011-01-19 22:17:05 +01:00
|
|
|
|
2011-04-12 10:05:35 +02:00
|
|
|
# Propagate libgcrypt because it appears in `ucommon.pc'.
|
|
|
|
propagatedBuildInputs = [ libgcrypt ];
|
|
|
|
|
2011-01-19 22:17:05 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2011-03-10 17:27:53 +01:00
|
|
|
description = "GNU uCommon C++, C++ library to facilitate using C++ design patterns";
|
|
|
|
homepage = http://www.gnu.org/software/commoncpp/;
|
2011-01-19 22:17:05 +01:00
|
|
|
license = "LGPLv3+";
|
|
|
|
|
2011-04-12 10:05:35 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ludo ];
|
2011-01-19 22:17:05 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|