depot/third_party/nixpkgs/pkgs/development/python-modules/bitvavo-aio/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

35 lines
701 B
Nix

{ 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 ];
};
}