diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-09-01 11:51:02 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-09-01 11:51:02 +0000 |
commit | aa4353b499e6950b7333578f936455a628145c31 (patch) | |
tree | c6332cedece2327a18d08794755b3fc0f9f1905b /nixpkgs/pkgs/development/python-modules/web3/default.nix | |
parent | ac456d475f4e50818499b804359355c0f3b4bbf7 (diff) | |
parent | 52185f4d76c18d8348f963795dfed1de018e8dfe (diff) | |
download | nixlib-aa4353b499e6950b7333578f936455a628145c31.tar nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.gz nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.bz2 nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.lz nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.xz nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.zst nixlib-aa4353b499e6950b7333578f936455a628145c31.zip |
Merge https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/web3/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/web3/default.nix | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/web3/default.nix b/nixpkgs/pkgs/development/python-modules/web3/default.nix index f4afe0646158..ae709ef40886 100644 --- a/nixpkgs/pkgs/development/python-modules/web3/default.nix +++ b/nixpkgs/pkgs/development/python-modules/web3/default.nix @@ -1,22 +1,20 @@ { lib , buildPythonPackage , fetchFromGitHub +, pythonOlder , aiohttp , eth-abi , eth-account , eth-hash , eth-typing , eth-utils -, eth-rlp , hexbytes , ipfshttpclient , jsonschema , lru-dict , protobuf , requests -, typing-extensions , websockets -, pythonOlder }: buildPythonPackage rec { @@ -33,24 +31,25 @@ buildPythonPackage rec { hash = "sha256-RNWCZQjcse415SSNkHhMWckDcBJGFZnjisckF7gbYY8="; }; + # Note: to reflect the extra_requires in main/setup.py. + passthru.optional-dependencies = { + ipfs = [ ipfshttpclient ]; + }; + propagatedBuildInputs = [ aiohttp eth-abi eth-account - eth-hash - eth-rlp + eth-hash ] ++ eth-hash.optional-dependencies.pycryptodome ++ [ eth-typing eth-utils hexbytes - ipfshttpclient jsonschema lru-dict protobuf requests websockets - ] ++ lib.optionals (pythonOlder "3.8") [ - typing-extensions - ] ++ eth-hash.optional-dependencies.pycryptodome; + ]; # TODO: package eth-tester required for tests doCheck = false; @@ -64,9 +63,9 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Web3 library for interactions"; - homepage = "https://github.com/ethereum/web3"; + description = "A python interface for interacting with the Ethereum blockchain and ecosystem"; + homepage = "https://web3py.readthedocs.io/"; license = licenses.mit; - maintainers = with maintainers; [ raitobezarius ]; + maintainers = with maintainers; [ hellwolf ]; }; } |