python310Packages.hexbytes: init at 0.2.2
This commit is contained in:
parent
d515058727
commit
4c391ff1df
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/hexbytes/default.nix
Normal file
36
pkgs/development/python-modules/hexbytes/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, eth-utils
|
||||
, hypothesis
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hexbytes";
|
||||
version = "0.2.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ethereum";
|
||||
repo = "hexbytes";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-SZscM6ze9yY+iRDx/5F4XbrLXIbp6QkFnzxN7zvP9CQ=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
eth-utils
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hexbytes" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "`bytes` subclass that decodes hex, with a readable console output";
|
||||
homepage = "https://github.com/ethereum/hexbytes";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
|
@ -3925,6 +3925,8 @@ in {
|
|||
|
||||
heudiconv = callPackage ../development/python-modules/heudiconv { };
|
||||
|
||||
hexbytes = callPackage ../development/python-modules/hexbytes { };
|
||||
|
||||
hg-commitsigs = callPackage ../development/python-modules/hg-commitsigs { };
|
||||
|
||||
hg-evolve = callPackage ../development/python-modules/hg-evolve { };
|
||||
|
|
Loading…
Reference in a new issue