9 python3Packages.buildPythonApplication {
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-7V2WBZYAdsA4Tiy9/2UPOcThSNE3ZXM713j57KDCegk=";
21 build-system = [ python3Packages.poetry-core ];
23 dependencies = [ python3Packages.tomlkit ];
25 nativeCheckInputs = [ python3Packages.pytestCheckHook ];
28 substituteInPlace "tests/test_cli.py" \
29 --replace-fail "toml-sort" "$out/bin/toml-sort"
33 mainProgram = "toml-sort";
34 homepage = "https://github.com/pappasam/toml-sort";
35 description = "Command line utility to sort and format your toml files";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ isabelroses ];