mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Add libjson-rpc-cpp-0.2.1
This commit is contained in:
parent
fc593e719d
commit
582aa9a6f4
28
pkgs/development/libraries/libjson-rpc-cpp/default.nix
Normal file
28
pkgs/development/libraries/libjson-rpc-cpp/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, cmake, curl }:
|
||||
|
||||
let
|
||||
name = "libjson-rpc-cpp";
|
||||
version = "0.2.1";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "${name}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/cinemast/${name}/archive/${version}.tar.gz";
|
||||
sha256 = "1pc9nn4968qkda8vr4f9dijn2fcldm8i0ymwmql29h4cl5ghdnpw";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake curl ];
|
||||
|
||||
NIX_LDFLAGS = "-lpthread";
|
||||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = "LD_LIBRARY_PATH=out/ ctest";
|
||||
|
||||
meta = {
|
||||
description = "C++ framework for json-rpc (json remote procedure call)";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -4829,6 +4829,8 @@ let
|
||||
libtool = libtool_1_5;
|
||||
};
|
||||
|
||||
libjson_rpc_cpp = callPackage ../development/libraries/libjson-rpc-cpp { };
|
||||
|
||||
libkate = callPackage ../development/libraries/libkate { };
|
||||
|
||||
libksba = callPackage ../development/libraries/libksba { };
|
||||
|
Loading…
Reference in New Issue
Block a user