nixpkgs/pkgs/development/python-modules/rlp/default.nix
hellwolf ae93076f57
python311Packages.rlp: 3.0.0 -> 4.0.0
- use pyproject & setuptools-scm
- remove the setuptools-markdown post patch
2024-04-18 16:36:31 +03:00

41 lines
733 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; [ ];
};
}