nixpkgs/pkgs/development/libraries/ucommon/default.nix

27 lines
720 B
Nix
Raw Normal View History

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