2025-07-07 15:49:36 +01:00

36 lines
820 B
Nix

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