Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / filecheck / default.nix
blob2ce3e7c1fe8a6a375a8eb579281f66c28ba6d89b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , hatchling
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "filecheck";
10   version = "0.0.24";
11   format = "pyproject";
13   src = fetchFromGitHub {
14     owner = "mull-project";
15     repo = "FileCheck.py";
16     rev = "refs/tags/v${version}";
17     hash = "sha256-VbMlCqGd3MVpj0jEKjSGC2L0s/3e/d53b+2eZcXZneo=";
18   };
20   nativeBuildInputs = [
21     hatchling
22   ];
24   nativeCheckInputs = [
25     pytestCheckHook
26   ];
28   pythonImportsCheck = [
29     "filecheck"
30   ];
32   meta = with lib; {
33     changelog = "https://github.com/mull-project/FileCheck.py/releases/tag/v${version}";
34     homepage = "https://github.com/mull-project/FileCheck.py";
35     license = licenses.asl20;
36     description = "Python port of LLVM's FileCheck, flexible pattern matching file verifier";
37     mainProgram = "filecheck";
38     maintainers = with maintainers; [ yorickvp ];
39   };