1{ buildPythonPackage 2, fetchFromGitHub 3, hypothesis 4, lib 5, poetry-core 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "expecttest"; 11 version = "0.1.4"; 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "ezyang"; 16 repo = pname; 17 rev = "v${version}"; 18 hash = "sha256-BFM0jFWXfH72n9XuFtU9URW8LWGPVJncXniBV5547W4="; 19 }; 20 21 nativeBuildInputs = [ poetry-core ]; 22 23 nativeCheckInputs = [ hypothesis pytestCheckHook ]; 24 25 pythonImportsCheck = [ "expecttest" ]; 26 27 meta = { 28 maintainers = [ lib.maintainers.SomeoneSerge ]; 29 license = lib.licenses.mit; 30 description = ''EZ Yang "golden" tests (testing against a reference implementation)''; 31 homepage = "https://github.com/ezyang/expecttest"; 32 platforms = lib.platforms.unix; 33 }; 34}