1{ stdenv
2, buildPythonPackage
3, fetchFromGitHub
4, isPy27
5, six
6, requests
7}:
8
9buildPythonPackage {
10 pname = "ipfsapi";
11 version = "0.4.2.post1";
12 disabled = isPy27;
13
14 src = fetchFromGitHub {
15 owner = "ipfs";
16 repo = "py-ipfs-api";
17 rev = "0c485544a114f580c65e2ffbb5782efbf7fd9f61";
18 sha256 = "1v7f77cv95yv0v80gisdh71mj7jcq41xcfip6bqm57zfdbsa0xpn";
19 };
20
21 propagatedBuildInputs = [ six requests ];
22
23 meta = with stdenv.lib; {
24 description = "A python client library for the IPFS API";
25 license = licenses.mit;
26 maintainers = with maintainers; [ mguentner ];
27 homepage = "https://pypi.python.org/pypi/ipfsapi";
28 };
29
30}