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