504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
35 lines
714 B
Nix
35 lines
714 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
# Python deps
|
|
, requests
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "blockfrost-python";
|
|
version = "0.6.0";
|
|
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "blockfrost";
|
|
repo = "blockfrost-python";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-mN26QXxizDR+o2V5C2MlqVEbRns1BTmwZdUnnHNcFzw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
setuptools
|
|
];
|
|
|
|
pythonImportsCheck = [ "blockfrost" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python SDK for the Blockfrost.io API";
|
|
homepage = "https://github.com/blockfrost/blockfrost-python";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ t4ccer ];
|
|
};
|
|
}
|