python3Packages.python-etherscan-api: init at 2.1.0 (#432996)

This commit is contained in:
Fabian Affolter
2025-08-14 08:48:53 +02:00
committed by GitHub
3 changed files with 41 additions and 1 deletions
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "python-etherscan-api";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pcko1";
repo = "etherscan-python";
tag = version;
hash = "sha256-HnMhWUKwVQq5RMXwSZo9q20JEnl7YN13ju01L18YAzU=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Tests require an API key
doCheck = false;
pythonImportsCheck = [ "etherscan" ];
meta = {
description = "A minimal, yet complete, python API for etherscan.io";
homepage = "https://github.com/pcko1/etherscan-python";
changelog = "https://github.com/pcko1/etherscan-python/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
@@ -1608,7 +1608,8 @@
];
"etherscan" =
ps: with ps; [
]; # missing inputs: python-etherscan-api
python-etherscan-api
];
"eufy" =
ps: with ps; [
lakeside
+2
View File
@@ -14593,6 +14593,8 @@ self: super: with self; {
python-etcd = callPackage ../development/python-modules/python-etcd { };
python-etherscan-api = callPackage ../development/python-modules/python-etherscan-api { };
python-ev3dev2 = callPackage ../development/python-modules/python-ev3dev2 { };
python-family-hub-local = callPackage ../development/python-modules/python-family-hub-local { };