1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pytest, 6 pytestCheckHook, 7 setuptools, 8 setuptools-scm, 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-archon"; 13 version = "0.0.6"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "jwbargsten"; 18 repo = "pytest-archon"; 19 tag = "v${version}"; 20 hash = "sha256-ZKs7ifqgazEywszPGxkcPCf2WD2tEpEsbh8kHN/PL7s="; 21 }; 22 23 build-system = [ 24 setuptools 25 setuptools-scm 26 ]; 27 28 buildInputs = [ 29 pytest 30 ]; 31 32 pythonImportsCheck = [ "pytest_archon" ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 ]; 37 38 meta = { 39 description = "Tool that helps you structure (large) Python projects"; 40 homepage = "https://github.com/jwbargsten/pytest-archon"; 41 license = lib.licenses.asl20; 42 maintainers = with lib.maintainers; [ dotlambda ]; 43 }; 44}