anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / eth-typing / default.nix
blob42b4e52737beb5656f5cbd6795a3f441ffd543b4
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   pythonOlder,
6   pytestCheckHook,
7   typing-extensions,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "eth-typing";
13   version = "5.0.1";
14   pyproject = true;
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "ethereum";
20     repo = "eth-typing";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-WFTx5u85Gp+jQPWS3BTk1Pky07C2fVAzwrG/c3hSRzM=";
23   };
25   build-system = [ setuptools ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   dependencies = [ typing-extensions ];
31   pythonImportsCheck = [ "eth_typing" ];
33   meta = with lib; {
34     description = "Common type annotations for Ethereum Python packages";
35     homepage = "https://github.com/ethereum/eth-typing";
36     changelog = "https://github.com/ethereum/eth-typing/blob/v${version}/docs/release_notes.rst";
37     license = licenses.mit;
38     maintainers = with maintainers; [ siraben ];
39   };