python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / eth-rlp / default.nix
blob3bc8d7c35b8361c79d524d88c178e4c75b9f96a5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   eth-hash,
7   eth-utils,
8   hexbytes,
9   pytestCheckHook,
10   pythonOlder,
11   rlp,
14 buildPythonPackage rec {
15   pname = "eth-rlp";
16   version = "2.1.0";
17   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "ethereum";
22     repo = "eth-rlp";
23     rev = "v${version}";
24     hash = "sha256-FTqIutndf+epmO5XNEUoRAUEmn299aTLIZNe5SMcxAQ=";
25   };
27   build-system = [ setuptools ];
29   propagatedBuildInputs = [
30     hexbytes
31     eth-utils
32     rlp
33   ];
35   nativeCheckInputs = [ pytestCheckHook ] ++ eth-hash.optional-dependencies.pycryptodome;
37   pythonImportsCheck = [ "eth_rlp" ];
39   meta = with lib; {
40     description = "RLP definitions for common Ethereum objects";
41     homepage = "https://github.com/ethereum/eth-rlp";
42     license = licenses.mit;
43     maintainers = [ ];
44   };