Merge pull request #174196 from NixOS/backport-174084-to-release-22.05

[Backport release-22.05] python3Packages.aspy-refactor-imports: fix url and darwin test failure
This commit is contained in:
Robert Scott
2022-05-23 23:11:48 +01:00
committed by GitHub

View File

@@ -3,6 +3,7 @@
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, stdenv
}:
buildPythonPackage rec {
@@ -25,9 +26,12 @@ buildPythonPackage rec {
pytestCheckHook
];
# fails on darwin due to case-insensitive file system
disabledTests = lib.optional stdenv.isDarwin ["test_application_directory_case"];
meta = with lib; {
description = "Utilities for refactoring imports in python-like syntax.";
homepage = "https://github.com/asottile/reorder_python_imports";
homepage = "https://github.com/asottile/aspy.refactor_imports";
license = licenses.mit;
maintainers = with maintainers; [ gador ];
};