nixpkgs/pkgs/development/python-modules/rlp/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

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