summary refs log tree commit diff
path: root/pkgs/development/python-modules/bitvavo-aio/default.nix
blob: 39094d74e5f58124bdefda27145cf47a0497daf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:

buildPythonPackage rec {
  pname = "bitvavo-aio";
  version = "1.0.3";
  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "cyberjunky";
    repo = pname;
    rev = version;
    sha256 = "1d9nbbvv7xnkixj03sfhs2da5j3i2m7p73r7j1yb7b39zas2rbig";
  };

  propagatedBuildInputs = [
    aiohttp
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "bitvavo" ];

  meta = with lib; {
    description = "Python client for Bitvavo crypto exchange API";
    homepage = "https://github.com/cyberjunky/bitvavo-aio";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}