forked from mirrors/nixpkgs
Merge pull request #31777 from romildo/upd.catch
catch: 1.9.6 -> 1.11.0
This commit is contained in:
commit
af748afe33
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "catch-${version}";
|
name = "catch-${version}";
|
||||||
version = "1.9.6";
|
version = "1.11.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "philsquared";
|
owner = "catchorg";
|
||||||
repo = "Catch";
|
repo = "Catch";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0nqnyw6haa2771748ycag4hhjb8ni32cv4f7w3h0pji212542xan";
|
sha256 = "0v9yw7ydvhydp78hh7cmaif4h73k5qxqpm1g7xn8i882i3s84s2s";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
|
||||||
function fixRunPath {
|
function fixRunPath {
|
||||||
|
@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ cmake jsoncpp argtable curl libmicrohttpd doxygen catch ];
|
buildInputs = [ cmake jsoncpp argtable curl libmicrohttpd doxygen catch ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "C++ framework for json-rpc (json remote procedure call)";
|
description = "C++ framework for json-rpc (json remote procedure call)";
|
||||||
homepage = https://github.com/cinemast/libjson-rpc-cpp;
|
homepage = https://github.com/cinemast/libjson-rpc-cpp;
|
||||||
|
|
Loading…
Reference in a new issue