depot/third_party/nixpkgs/pkgs/development/python-modules/rlp/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

40 lines
719 B
Nix

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