{ fetchurl, stdenv, gnutls, pkgconfig, zlib, libgcrypt }: stdenv.mkDerivation rec { name = "ucommon-6.0.5"; src = fetchurl { url = mirror://gnu/commoncpp/ucommon-6.0.5.tar.gz; sha256 = "0w5nl2a2l630n4kvfaz22by1s92ybd87g0q1zpcmsl8i5d00789l"; }; buildInputs = [ pkgconfig gnutls zlib ]; # Propagate libgcrypt because it appears in `ucommon.pc'. propagatedBuildInputs = [ libgcrypt ]; doCheck = true; meta = { description = "GNU uCommon C++, C++ library to facilitate using C++ design patterns"; homepage = http://www.gnu.org/software/commoncpp/; license = "LGPLv3+"; maintainers = with stdenv.lib.maintainers; [ viric ludo ]; platforms = stdenv.lib.platforms.all; }; }