Files
nixpkgs/pkgs/development/python-modules/eth-account/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

53 lines
926 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, bitarray
, eth-abi
, eth-keyfile
, eth-keys
, eth-rlp
, eth-utils
, websockets
, hexbytes
, pythonOlder
, rlp
}:
buildPythonPackage rec {
pname = "eth-account";
version = "0.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ethereum";
repo = "eth-account";
rev = "v${version}";
hash = "sha256-Ps/vzJv0W1+wy1mSJaqRNNU6CoCMchReHIocB9kPrGs=";
};
propagatedBuildInputs = [
bitarray
eth-abi
eth-keyfile
eth-keys
eth-rlp
eth-utils
hexbytes
rlp
websockets
];
# require buildinga npm project
doCheck = false;
pythonImportsCheck = [ "eth_account" ];
meta = with lib; {
description = "Account abstraction library for web3.py";
homepage = "https://github.com/ethereum/eth-account";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}