Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / eth-typing / default.nix
blob434fc6d8c10d68f77c3b6ea689a1a66f7d901aa0
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , pythonOlder
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "eth-typing";
10   version = "3.2.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "ethereum";
17     repo = "eth-typing";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-klN38pIQ9ZOFV7dzXNvylPGfifR8pXRLTJ3VE579AY0=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "eth_typing"
28   ];
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   };