summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-05-23 23:11:48 +0100
committerGitHub <noreply@github.com>2022-05-23 23:11:48 +0100
commitb313d272ea526daa2a78f7ef14f495b6d186307a (patch)
tree50446579516c4866505c7e07a975b249ea0c9c09
parentMerge pull request #174188 from NixOS/backport-174182-to-release-22.05 (diff)
parentpython3Packages.aspy-refactor-imports: fix url and darwin test failure (diff)
downloadnixpkgs-b313d272ea526daa2a78f7ef14f495b6d186307a.tar.gz
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
-rw-r--r--pkgs/development/python-modules/aspy-refactor-imports/default.nix6
1 files changed, 5 insertions, 1 deletions
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 ];
};