depot/third_party/nixpkgs/pkgs/development/python-modules/blockfrost-python/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

35 lines
704 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
# Python deps
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "blockfrost-python";
version = "0.5.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "blockfrost";
repo = "blockfrost-python";
rev = "${version}";
hash = "sha256-mQ8avjyLARJONYn18neCyuHEuv3ySyCNMe+P4+Dlxck=";
};
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 ];
};
}