cpp-ipfs-api: init at 2016-11-09
Signed-off-by: Maximilian Güntner <code@klandest.in>
This commit is contained in:
parent
1f9cbcd21d
commit
ffdf7ec234
2 changed files with 25 additions and 0 deletions
23
pkgs/development/libraries/cpp-ipfs-api/default.nix
Normal file
23
pkgs/development/libraries/cpp-ipfs-api/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchFromGitHub, curl, cmake, nlohmann_json }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cpp-ipfs-api-${version}";
|
||||
version = "2016-11-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vasild";
|
||||
repo = "cpp-ipfs-api";
|
||||
rev = "46e473e49ede4fd829235f1d4930754d5356a747";
|
||||
sha256 = "10c5hmg9857zb0fp262ca4a42gq9iqdyqz7f975cp3qs70x12q08";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake curl ];
|
||||
propagatedBuildInputs = [ nlohmann_json ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "IPFS C++ API client library";
|
||||
homepage = https://github.com/vasild/cpp-ipfs-api;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -6805,6 +6805,8 @@ in
|
|||
|
||||
cpp-hocon = callPackage ../development/libraries/cpp-hocon { };
|
||||
|
||||
cpp-ipfs-api = callPackage ../development/libraries/cpp-ipfs-api { };
|
||||
|
||||
cpp-netlib = callPackage ../development/libraries/cpp-netlib { };
|
||||
uri = callPackage ../development/libraries/uri { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue