1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchFromGitHub
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "bitvavo-aio";
10 version = "1.0.3";
11 disabled = pythonOlder "3.6";
12
13 src = fetchFromGitHub {
14 owner = "cyberjunky";
15 repo = pname;
16 rev = version;
17 sha256 = "1d9nbbvv7xnkixj03sfhs2da5j3i2m7p73r7j1yb7b39zas2rbig";
18 };
19
20 propagatedBuildInputs = [
21 aiohttp
22 ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "bitvavo" ];
28
29 meta = with lib; {
30 description = "Python client for Bitvavo crypto exchange API";
31 homepage = "https://github.com/cyberjunky/bitvavo-aio";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ fab ];
34 };
35}