Unverified Commit 371616a9 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

usort: 1.0.8 -> 1.1.0 (#458556)

parents e873d66e b7087e47
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -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";
  };
}