1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "filecheck";
11 version = "1.0.2";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "AntonLydike";
16 repo = "filecheck";
17 tag = "v${version}";
18 hash = "sha256-73HQ8dGp52+SyuwacthCjSQsA5v3LU49sabI066wuwU=";
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/v${version}";
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}