Unverified Commit c06f4087 authored by éclairevoyant's avatar éclairevoyant
Browse files

thefuck: move to by-name

parent b9db8b7c
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
{ 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"
+0 −2
Original line number Diff line number Diff line
@@ -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 { };