thefuck: move to by-name

This commit is contained in:
éclairevoyant
2024-07-09 10:59:15 -04:00
parent b9db8b7c16
commit c06f40871f
2 changed files with 4 additions and 9 deletions
@@ -1,9 +1,6 @@
{ lib, stdenv, fetchFromGitHub, buildPythonApplication
, colorama, decorator, psutil, pyte, six
, go, mock, pytest7CheckHook, pytest-mock
}:
{ lib, stdenv, fetchFromGitHub, python3Packages, go }:
buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "thefuck";
version = "3.32";
@@ -14,9 +11,9 @@ buildPythonApplication rec {
sha256 = "sha256-bRCy95owBJaxoyCNQF6gEENoxCkmorhyKzZgU1dQN6I=";
};
propagatedBuildInputs = [ colorama decorator psutil pyte six ];
propagatedBuildInputs = with python3Packages; [ colorama decorator psutil pyte six ];
nativeCheckInputs = [ go mock pytest7CheckHook pytest-mock ];
nativeCheckInputs = [ go ] ++ (with python3Packages; [ mock pytest7CheckHook pytest-mock ]);
disabledTests = lib.optionals stdenv.isDarwin [
"test_settings_defaults"
-2
View File
@@ -13392,8 +13392,6 @@ with pkgs;
themes = recurseIntoAttrs (getPackagesWithPrefix "theme");
};
thefuck = python3Packages.callPackage ../tools/misc/thefuck { };
theme-sh = callPackage ../tools/misc/theme-sh { };
thiefmd = callPackage ../applications/editors/thiefmd { };