Files
nixpkgs/pkgs/development/libraries/cpp-ipfs-api/default.nix
T

24 lines
627 B
Nix
Raw Normal View History

2016-11-09 14:09:27 +01:00
{ stdenv, fetchFromGitHub, curl, cmake, nlohmann_json }:
stdenv.mkDerivation rec {
name = "cpp-ipfs-api-${version}";
2017-01-04 10:42:13 +01:00
version = "2017-01-04";
2016-11-09 14:09:27 +01:00
src = fetchFromGitHub {
owner = "vasild";
repo = "cpp-ipfs-api";
2017-01-04 10:42:13 +01:00
rev = "96a890f4518665a56581a2a52311eaa65928eac8";
sha256 = "1z6gbd7npg4pd9wmdyzcp9h12sg84d7a43c69pp4lzqkyqg8pz1g";
2016-11-09 14:09:27 +01:00
};
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;
};
}