2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
hatchling,
|
|
|
|
pytestCheckHook,
|
2022-07-14 12:49:19 +00:00
|
|
|
}:
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
buildPythonPackage rec {
|
2022-07-14 12:49:19 +00:00
|
|
|
pname = "filecheck";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.0.24";
|
2022-07-14 12:49:19 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mull-project";
|
|
|
|
repo = "FileCheck.py";
|
2023-03-15 16:39:30 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-VbMlCqGd3MVpj0jEKjSGC2L0s/3e/d53b+2eZcXZneo=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ hatchling ];
|
2022-10-30 15:09:59 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-10-30 15:09:59 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "filecheck" ];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-01-13 08:15:51 +00:00
|
|
|
changelog = "https://github.com/mull-project/FileCheck.py/releases/tag/v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
homepage = "https://github.com/mull-project/FileCheck.py";
|
|
|
|
license = licenses.asl20;
|
|
|
|
description = "Python port of LLVM's FileCheck, flexible pattern matching file verifier";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "filecheck";
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ yorickvp ];
|
|
|
|
};
|
|
|
|
}
|