Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / eth-typing / default.nix
blob60bafffaea2ab7710a60a8ab95086fbd38023ea3
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , pythonOlder
5 , pytestCheckHook
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "eth-typing";
11   version = "4.0.0";
12   pyproject = true;
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "ethereum";
18     repo = "eth-typing";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-JT/2bCPYFSRNt3V7QnHSAJR7HrZ1JpRKdU7gQpoYIn0=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "eth_typing"
33   ];
35   meta = with lib; {
36     description = "Common type annotations for Ethereum Python packages";
37     homepage = "https://github.com/ethereum/eth-typing";
38     changelog = "https://github.com/ethereum/eth-typing/blob/v${version}/docs/release_notes.rst";
39     license = licenses.mit;
40     maintainers = with maintainers; [ ];
41   };