blob: d9df87de0a33cb2b05d8311bb88462a1e411bde0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 ];
};
}
|