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