1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4# Python deps
5, requests
6, setuptools
7}:
8
9buildPythonPackage rec {
10 pname = "blockfrost-python";
11 version = "0.5.3";
12
13 format = "pyproject";
14
15 src = fetchFromGitHub {
16 owner = "blockfrost";
17 repo = "blockfrost-python";
18 rev = "${version}";
19 hash = "sha256-mQ8avjyLARJONYn18neCyuHEuv3ySyCNMe+P4+Dlxck=";
20 };
21
22 propagatedBuildInputs = [
23 requests
24 setuptools
25 ];
26
27 pythonImportsCheck = [ "blockfrost" ];
28
29 meta = with lib; {
30 description = "Python SDK for the Blockfrost.io API";
31 homepage = "https://github.com/blockfrost/blockfrost-python";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ t4ccer ];
34 };
35}