python3Packages.aspy-refactor-imports: fix url and darwin test failure

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2022-05-23 10:18:10 +02:00
parent 26e7906a96
commit 2f4da397f0
No known key found for this signature in database
GPG key ID: 074048E893713170

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 ];
};