1 { lib, stdenv, fetchFromGitHub, curl, cmake, nlohmann_json }:
4 pname = "cpp-ipfs-api";
5 version = "2017-01-04";
7 src = fetchFromGitHub {
10 rev = "96a890f4518665a56581a2a52311eaa65928eac8";
11 sha256 = "1z6gbd7npg4pd9wmdyzcp9h12sg84d7a43c69pp4lzqkyqg8pz1g";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ curl ];
16 propagatedBuildInputs = [ nlohmann_json ];
19 description = "IPFS C++ API client library";
20 homepage = "https://github.com/vasild/cpp-ipfs-api";
21 license = licenses.mit;
22 platforms = platforms.all;