Files
2025-08-21 13:12:38 +00:00

36 lines
819 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "filecheck";
version = "1.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "AntonLydike";
repo = "filecheck";
tag = "v${version}";
hash = "sha256-oOGQIEPIHL4xQRVKOw+8Z8QSowXlavVnck+IOWA9qd8=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "filecheck" ];
meta = with lib; {
changelog = "https://github.com/antonlydike/filecheck/releases/tag/${src.tag}";
homepage = "https://github.com/antonlydike/filecheck";
license = licenses.asl20;
description = "Python-native clone of LLVMs FileCheck tool";
mainProgram = "filecheck";
maintainers = with maintainers; [ yorickvp ];
};
}