Skip to content

Commit

Permalink
python312Packages.reorder-python-imports: 3.12.0 -> 3.13.0
Browse files Browse the repository at this point in the history
Diff: asottile/reorder-python-imports@refs/tags/v3.12.0...v3.13.0
  • Loading branch information
fabaff committed Aug 11, 2024
1 parent 10dc1b2 commit 09324af
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions pkgs/development/python-modules/reorder-python-imports/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
lib,
buildPythonPackage,
classify-imports,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
aspy-refactor-imports,
classify-imports,
setuptools,
}:

buildPythonPackage rec {
pname = "reorder-python-imports";
version = "3.12.0";
format = "setuptools";
version = "3.13.0";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "asottile";
repo = "reorder_python_imports";
rev = "v${version}";
hash = "sha256-bKv9APbraR2359IzzkzXs4sEXrTvGK3J4LO3wFHOti0=";
rev = "refs/tags/v${version}";
hash = "sha256-N0hWrrUeojlUDZx2Azs/y2kCaknQ62hHdp0J2ZXPElY=";
};

propagatedBuildInputs = [
aspy-refactor-imports
classify-imports
];
build-system = [ setuptools ];

dependencies = [ classify-imports ];

pythonImportsCheck = [ "reorder_python_imports" ];

Expand All @@ -36,9 +36,9 @@ buildPythonPackage rec {

meta = with lib; {
description = "Tool for automatically reordering python imports";
mainProgram = "reorder-python-imports";
homepage = "https://github.com/asottile/reorder_python_imports";
license = licenses.mit;
maintainers = with maintainers; [ gador ];
mainProgram = "reorder-python-imports";
};
}

0 comments on commit 09324af

Please sign in to comment.