about summary refs log tree commit diff
path: root/pkgs/development/python-modules/filecheck/default.nix
blob: 2480c196881af5e09470643600a76015da0992b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonApplication
, fetchFromGitHub
, poetry
}:

buildPythonApplication rec {
  pname = "filecheck";
  version = "0.0.22";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "mull-project";
    repo = "FileCheck.py";
    rev = "v${version}";
    sha256 = "sha256-I2SypKkgcVuLyLiwNw5oWDb9qT56TbC6vbui8PEcziI=";
  };

  nativeBuildInputs = [ poetry ];

  pythonImportsCheck = [ "filecheck" ];

  meta = with lib; {
    homepage = "https://github.com/mull-project/FileCheck.py";
    license = licenses.asl20;
    description = "Python port of LLVM's FileCheck, flexible pattern matching file verifier";
    maintainers = with maintainers; [ yorickvp ];
  };
}