Commit a62f2a98 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.findimports: refactor

parent 10fdc1ad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ buildPythonPackage rec {
    hash = "sha256-0HD5n9kxlXB86w8zkti6MkVZxEgGRrXzM6f+g0H/jrs=";
  };

  nativeBuildInputs = [ setuptools ];
  build-system = [ setuptools ];

  pythonImportsCheck = [ "findimports" ];

@@ -36,7 +36,6 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Module for the analysis of Python import statements";
    mainProgram = "findimports";
    homepage = "https://github.com/mgedmin/findimports";
    changelog = "https://github.com/mgedmin/findimports/blob/${version}/CHANGES.rst";
    license = with licenses; [
@@ -44,5 +43,6 @@ buildPythonPackage rec {
      gpl3Only
    ];
    maintainers = with maintainers; [ fab ];
    mainProgram = "findimports";
  };
}