blob: 22413df3d3dac63a2ec6792b7d231de703ad3c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
eth-utils,
hypothesis,
pytestCheckHook,
pydantic,
}:
buildPythonPackage rec {
pname = "hexbytes";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ethereum";
repo = "hexbytes";
tag = "v${version}";
hash = "sha256-xYXxlyVGdsksxZJtSpz1V3pj4NL7IzX0gaQeCoiHr8g=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
eth-utils
hypothesis
pytestCheckHook
pydantic
];
disabledTests = [ "test_install_local_wheel" ];
pythonImportsCheck = [ "hexbytes" ];
meta = {
description = "`bytes` subclass that decodes hex, with a readable console output";
homepage = "https://github.com/ethereum/hexbytes";
changelog = "https://github.com/ethereum/hexbytes/blob/v${version}/docs/release_notes.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|