python313Packages.tomli-w: 1.0.0 -> 1.2.0

Diff: https://github.com/hukkin/tomli-w/compare/refs/tags/1.0.0...1.2.0

Changelog: https://github.com/hukkin/tomli-w/blob/1.2.0/CHANGELOG.md
This commit is contained in:
Fabian Affolter
2025-04-03 23:13:24 +02:00
committed by Martin Weinelt
parent cf645b91ff
commit fb86c7dffb
@@ -3,27 +3,35 @@
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
tomli,
}:
buildPythonPackage rec {
pname = "tomli-w";
version = "1.0.0";
format = "pyproject";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "hukkin";
repo = pname;
rev = version;
hash = "sha256-wZSC5uOi1JUeKXIli1I8/Vo0wGsv9Q1I84dAMQQP95w=";
repo = "tomli-w";
tag = version;
hash = "sha256-Du37ySvAL9iwGec5wbWxwLTYm+kcDSOs5OJ5Sw7R87g=";
};
nativeBuildInputs = [ flit-core ];
build-system = [ flit-core ];
nativeCheckInputs = [
pytestCheckHook
tomli
];
pythonImportsCheck = [ "tomli_w" ];
meta = with lib; {
description = "Write-only counterpart to Tomli, which is a read-only TOML parser";
homepage = "https://github.com/hukkin/tomli-w";
changelog = "https://github.com/hukkin/tomli-w/blob/${src.tag}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ lovesegfault ];
};