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.0.7";
src = fetchurl {
url = mirror://gnu/commoncpp/ucommon-5.0.7.tar.gz;
sha256 = "0zr4zjwb62dpq7aa88vclhv2y8j7glkq693kwmb8agfx0fv8nkny";
};
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;
};
}