Files
nixpkgs/pkgs/development/python-modules/rlp/default.nix
2025-07-30 00:28:47 -07:00

45 lines
795 B
Nix

{
lib,
fetchFromGitHub,
setuptools,
buildPythonPackage,
eth-utils,
hypothesis,
pytestCheckHook,
pydantic,
}:
buildPythonPackage rec {
pname = "rlp";
version = "4.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ethereum";
repo = "pyrlp";
rev = "v${version}";
hash = "sha256-moerdcAJXqhlzDnTlvxL3Nzz485tOzJVCPlGrof80eQ=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [ eth-utils ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
pydantic
];
pythonImportsCheck = [ "rlp" ];
disabledTests = [ "test_install_local_wheel" ];
meta = with lib; {
description = "RLP serialization library";
homepage = "https://github.com/ethereum/pyrlp";
license = licenses.mit;
maintainers = [ ];
};
}