checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
31 lines
708 B
Nix
31 lines
708 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, future
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyevmasm";
|
|
version = "0.2.3";
|
|
|
|
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";
|
|
homepage = "https://github.com/crytic/pyevmasm";
|
|
changelog = "https://github.com/crytic/pyevmasm/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ arturcygan ];
|
|
};
|
|
}
|