diff options
| author | nixpkgs-ci[bot] <190413589+nixpkgs-ci[bot]@users.noreply.github.com> | 2025-08-15 00:23:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-15 00:23:03 +0000 |
| commit | bb71dfa5c136c5b019b6e4db563dfd5a2a55fa6c (patch) | |
| tree | d74433b4bc9b57a00ccc0cc6959842d0b405fc45 /pkgs/development/python-modules/python-etherscan-api/default.nix | |
| parent | 136bb14097e9890f38eef01d5f914bcb79a11b56 (diff) | |
| parent | ee11c0fef4ce23fa64299c30243eb0f4e1db4845 (diff) | |
Merge ee11c0fef4ce23fa64299c30243eb0f4e1db4845 into haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/python-etherscan-api/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/python-etherscan-api/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-etherscan-api/default.nix b/pkgs/development/python-modules/python-etherscan-api/default.nix new file mode 100644 index 000000000000..d9df87de0a33 --- /dev/null +++ b/pkgs/development/python-modules/python-etherscan-api/default.nix @@ -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 ]; + }; +} |
