{ fetchurl, stdenv, gnutls, pkgconfig, zlib, libgcrypt }: stdenv.mkDerivation rec { name = "ucommon-4.3.2"; src = fetchurl { url = mirror://gnu/commoncpp/ucommon-4.3.2.tar.gz; sha256 = "0jm1jdlh216vbhibfing96pz35l4h55iri133s7rsmi1qiaif25m"; }; 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; }; }