1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, pythonOlder 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "eth-typing"; 10 version = "3.2.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "ethereum"; 17 repo = "eth-typing"; 18 rev = "refs/tags/v${version}"; 19 hash = "sha256-klN38pIQ9ZOFV7dzXNvylPGfifR8pXRLTJ3VE579AY0="; 20 }; 21 22 nativeCheckInputs = [ 23 pytestCheckHook 24 ]; 25 26 pythonImportsCheck = [ 27 "eth_typing" 28 ]; 29 30 meta = with lib; { 31 description = "Common type annotations for Ethereum Python packages"; 32 homepage = "https://github.com/ethereum/eth-typing"; 33 changelog = "https://github.com/ethereum/eth-typing/blob/v${version}/docs/release_notes.rst"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ ]; 36 }; 37}