Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
998 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, setuptools, # dependencies eth-keys, eth-utils, pycryptodome, # nativeCheckInputs pytestCheckHook,}:
buildPythonPackage rec { pname = "eth-keyfile"; version = "0.8.1"; pyproject = true;
src = fetchFromGitHub { owner = "ethereum"; repo = "eth-keyfile"; tag = "v${version}"; fetchSubmodules = true; hash = "sha256-HufsN3aXdQErcQmnG2PZnEm5joqpy4f8IWNm3VrzJSY="; };
build-system = [ setuptools ];
dependencies = [ eth-keys eth-utils pycryptodome ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "eth_keyfile" ];
meta = { description = "Tools for handling the encrypted keyfile format used to store private keys"; homepage = "https://github.com/ethereum/eth-keyfile"; changelog = "https://github.com/ethereum/eth-keyfile/blob/v${version}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hellwolf ]; };}