depot/third_party/nixpkgs/pkgs/development/python-modules/pyevmasm/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
768 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
future,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyevmasm";
version = "0.2.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "crytic";
repo = pname;
rev = version;
sha256 = "134q0z0dqzxzr0jw5jr98kp90kx2dl0qw9smykwxdgq555q1l6qa";
};
propagatedBuildInputs = [ future ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Ethereum Virtual Machine (EVM) assembler and disassembler";
mainProgram = "evmasm";
homepage = "https://github.com/crytic/pyevmasm";
changelog = "https://github.com/crytic/pyevmasm/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ arturcygan ];
};
}