python3Packages.filecheck: 0.0.23 -> 0.0.24

This commit is contained in:
Martin Weinelt
2023-12-20 20:44:19 +01:00
parent d485229124
commit 85bf9924c8
@@ -1,30 +1,24 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, hatchling
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "filecheck";
version = "0.0.23";
version = "0.0.24";
format = "pyproject";
src = fetchFromGitHub {
owner = "mull-project";
repo = "FileCheck.py";
rev = "refs/tags/v${version}";
hash = "sha256-R+e4Z1EX6Nk7INLar3gtkUpk+30xIJO7yiZbUvrhN74=";
hash = "sha256-VbMlCqGd3MVpj0jEKjSGC2L0s/3e/d53b+2eZcXZneo=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "poetry>=0.12" "poetry-core" \
--replace "poetry.masonry.api" "poetry.core.masonry.api"
'';
nativeBuildInputs = [
poetry-core
hatchling
];
nativeCheckInputs = [
@@ -36,6 +30,7 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/mull-project/FileCheck.py/releases/tag/v${version}";
homepage = "https://github.com/mull-project/FileCheck.py";
license = licenses.asl20;
description = "Python port of LLVM's FileCheck, flexible pattern matching file verifier";