Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / eth-rlp / default.nix
blob081abf233ef913ea545fccdc9e3e5a4dfc60b2bb
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , eth-hash
6 , eth-utils
7 , hexbytes
8 , pytestCheckHook
9 , pythonOlder
10 , rlp
13 buildPythonPackage rec {
14   pname = "eth-rlp";
15   version = "2.1.0";
16   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "ethereum";
21     repo = "eth-rlp";
22     rev = "v${version}";
23     hash = "sha256-FTqIutndf+epmO5XNEUoRAUEmn299aTLIZNe5SMcxAQ=";
24   };
26   build-system = [ setuptools];
28   propagatedBuildInputs = [
29     hexbytes
30     eth-utils
31     rlp
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36   ] ++ eth-hash.optional-dependencies.pycryptodome;
38   pythonImportsCheck = [ "eth_rlp" ];
40   meta = with lib; {
41     description = "RLP definitions for common Ethereum objects";
42     homepage = "https://github.com/ethereum/eth-rlp";
43     license = licenses.mit;
44     maintainers = with maintainers; [ ];
45   };