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