1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "filecheck"; 11 version = "1.0.3"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "AntonLydike"; 16 repo = "filecheck"; 17 tag = "v${version}"; 18 hash = "sha256-oOGQIEPIHL4xQRVKOw+8Z8QSowXlavVnck+IOWA9qd8="; 19 }; 20 21 build-system = [ poetry-core ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "filecheck" ]; 26 27 meta = with lib; { 28 changelog = "https://github.com/antonlydike/filecheck/releases/tag/${src.tag}"; 29 homepage = "https://github.com/antonlydike/filecheck"; 30 license = licenses.asl20; 31 description = "Python-native clone of LLVMs FileCheck tool"; 32 mainProgram = "filecheck"; 33 maintainers = with maintainers; [ yorickvp ]; 34 }; 35}