depot/third_party/nixpkgs/pkgs/development/python-modules/rlp/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
737 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 = with maintainers; [ ];
};
}