Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, boost, libxml2, pkg-config, docbook2x, curl, autoreconfHook, cppunit }: 2 3stdenv.mkDerivation rec { 4 pname = "libcmis"; 5 version = "0.5.2"; 6 7 src = fetchFromGitHub { 8 owner = "tdf"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "0s6prfh55hn11vrs72ph1gs01v0vngly81pvyjm5v1sgwymdxx57"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config docbook2x ]; 15 buildInputs = [ boost libxml2 curl cppunit ]; 16 17 configureFlags = [ 18 "--disable-werror" 19 "DOCBOOK2MAN=${docbook2x}/bin/docbook2man" 20 ]; 21 22 doCheck = true; 23 24 enableParallelBuilding = true; 25 26 meta = with lib; { 27 description = "C++ client library for the CMIS interface"; 28 homepage = "https://github.com/tdf/libcmis"; 29 license = licenses.gpl2; 30 mainProgram = "cmis-client"; 31 platforms = platforms.unix; 32 }; 33}