1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 future,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "pyevmasm";
11 version = "0.2.3";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "crytic";
16 repo = "pyevmasm";
17 rev = version;
18 sha256 = "134q0z0dqzxzr0jw5jr98kp90kx2dl0qw9smykwxdgq555q1l6qa";
19 };
20
21 propagatedBuildInputs = [ future ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 meta = with lib; {
26 description = "Ethereum Virtual Machine (EVM) assembler and disassembler";
27 mainProgram = "evmasm";
28 homepage = "https://github.com/crytic/pyevmasm";
29 changelog = "https://github.com/crytic/pyevmasm/releases/tag/${version}";
30 license = licenses.asl20;
31 maintainers = with maintainers; [ arturcygan ];
32 };
33}