3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/cpp-ipfs-api/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
617 B
Nix

{ stdenv, fetchFromGitHub, curl, cmake, nlohmann_json }:
stdenv.mkDerivation rec {
pname = "cpp-ipfs-api";
version = "2017-01-04";
src = fetchFromGitHub {
owner = "vasild";
repo = "cpp-ipfs-api";
rev = "96a890f4518665a56581a2a52311eaa65928eac8";
sha256 = "1z6gbd7npg4pd9wmdyzcp9h12sg84d7a43c69pp4lzqkyqg8pz1g";
};
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;
};
}