20 buildPythonPackage rec {
25 disabled = pythonOlder "3.8";
27 src = fetchFromGitHub {
31 hash = "sha256-oEvvXUju7qne3pCwnrckplMs0kBJavB669qieXJZPKw=";
34 build-system = [ flit-core ];
47 optional-dependencies = {
54 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
56 pythonImportsCheck = [ "ufmt" ];
59 description = "Safe, atomic formatting with black and usort";
60 homepage = "https://github.com/omnilib/ufmt";
61 changelog = "https://github.com/omnilib/ufmt/blob/${version}/CHANGELOG.md";
62 license = licenses.mit;
63 maintainers = with maintainers; [ fab ];