Skip to content

Commit

Permalink
Merge pull request #123138 from fabaff/bitvavo-aio
Browse files Browse the repository at this point in the history
python3Packages.bitvavo-aio: init at 1.0.3
  • Loading branch information
fabaff committed Jun 14, 2021
2 parents 0993162 + 0a5592d commit 028f573
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/bitvavo-aio/default.nix
@@ -0,0 +1,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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -1071,6 +1071,8 @@ in {

bitstruct = callPackage ../development/python-modules/bitstruct { };

bitvavo-aio = callPackage ../development/python-modules/bitvavo-aio { };

bjoern = callPackage ../development/python-modules/bjoern { };

bkcharts = callPackage ../development/python-modules/bkcharts { };
Expand Down

0 comments on commit 028f573

Please sign in to comment.