depot/third_party/nixpkgs/pkgs/development/python-modules/filecheck/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

29 lines
682 B
Nix

{ 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 ];
};
}