nixpkgs-odroid-hc4/pkgs/development/python-modules/eth-typing/default.nix
2025-12-20 09:59:59 +11:00

32 lines
686 B
Nix

{ lib
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "eth-typing";
version = "3.0.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "ethereum";
repo = "eth-typing";
rev = "v${version}";
sha256 = "sha256-9rrnDFPWAmrUkr2mVTVi/8DTJdg4hzGaU0UbpwG5mtY=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "eth_typing" ];
meta = {
description = "Common type annotations for Ethereum Python packages";
homepage = "https://github.com/ethereum/eth-typing";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
}