From 0a5592d0a711d859d696baed436c5dcf08207ea9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 May 2021 19:02:55 +0200 Subject: [PATCH] python3Packages.bitvavo-aio: init at 1.0.3 --- .../python-modules/bitvavo-aio/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/bitvavo-aio/default.nix diff --git a/pkgs/development/python-modules/bitvavo-aio/default.nix b/pkgs/development/python-modules/bitvavo-aio/default.nix new file mode 100644 index 000000000000..39094d74e5f5 --- /dev/null +++ b/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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3ecf4494ff4f..e4ba9d55933f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1057,6 +1057,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 { };