usort: 1.0.8 -> 1.1.0 (#458556)

This commit is contained in:
Fabian Affolter
2025-11-06 17:02:32 +00:00
committed by GitHub
@@ -8,7 +8,6 @@
hatchling,
libcst,
moreorless,
pythonOlder,
stdlibs,
toml,
trailrunner,
@@ -18,24 +17,22 @@
buildPythonPackage rec {
pname = "usort";
version = "1.0.8";
format = "pyproject";
disabled = pythonOlder "3.7";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "facebook";
repo = "usort";
tag = "v${version}";
hash = "sha256-iezq2K+Rw0djyOoFm7tguw/vkkDSyrPZIfZPmaZvFpM=";
hash = "sha256-QnhpnuEt6j/QPmX29A0523QDh4o2QfaCoDI0YJpTc8Y=";
};
nativeBuildInputs = [
build-system = [
hatch-vcs
hatchling
];
propagatedBuildInputs = [
dependencies = [
attrs
click
libcst
@@ -54,10 +51,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Safe, minimal import sorting for Python projects";
mainProgram = "usort";
homepage = "https://github.com/facebook/usort";
changelog = "https://github.com/facebook/usort/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/facebook/usort/blob/${src.tag}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "usort";
};
}