From bd96db064f20801c5c1852ef7ea644c883a39da1 Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Mon, 23 May 2022 10:18:10 +0200 Subject: [PATCH] python3Packages.aspy-refactor-imports: fix url and darwin test failure Signed-off-by: Florian Brandes (cherry picked from commit 2f4da397f07581a7e13cc0b6ddc363e1a4fddc9c) --- .../python-modules/aspy-refactor-imports/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/aspy-refactor-imports/default.nix b/pkgs/development/python-modules/aspy-refactor-imports/default.nix index 9ec0cf55d42d..cfe935e16e80 100644 --- a/pkgs/development/python-modules/aspy-refactor-imports/default.nix +++ b/pkgs/development/python-modules/aspy-refactor-imports/default.nix @@ -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 ]; };