Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, setuptools, # dependencies typing-extensions, # nativeCheckInputs pytestCheckHook, pytest-xdist,}:
buildPythonPackage rec { pname = "eth-typing"; version = "5.2.1"; pyproject = true;
src = fetchFromGitHub { owner = "ethereum"; repo = "eth-typing"; tag = "v${version}"; hash = "sha256-w/xYqDmtlNs9dk4lTX0zxjdlUc7l7vi8ZnSE62W0m8o="; };
build-system = [ setuptools ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook pytest-xdist ];
pythonImportsCheck = [ "eth_typing" ];
disabledTests = [ # side-effect: runs pip online check and is blocked by sandbox "test_install_local_wheel" ];
meta = { description = "Common type annotations for Ethereum Python packages"; homepage = "https://github.com/ethereum/eth-typing"; changelog = "https://github.com/ethereum/eth-typing/blob/v${version}/docs/release_notes.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ siraben ]; };}