Unverified Commit 0c3a63af authored by éclairevoyant's avatar éclairevoyant
Browse files

thefuck: modernise

parent 69e5cb5b
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -6,12 +6,12 @@ python311Packages.buildPythonApplication rec {

  src = fetchFromGitHub {
    owner = "nvbn";
    repo = pname;
    rev = version;
    sha256 = "sha256-bRCy95owBJaxoyCNQF6gEENoxCkmorhyKzZgU1dQN6I=";
    repo = "thefuck";
    rev = "refs/tags/${version}";
    hash = "sha256-bRCy95owBJaxoyCNQF6gEENoxCkmorhyKzZgU1dQN6I=";
  };

  propagatedBuildInputs = with python311Packages; [ colorama decorator psutil pyte six ];
  dependencies = with python311Packages; [ colorama decorator psutil pyte six ];

  nativeCheckInputs = [ go ] ++ (with python311Packages; [ mock pytest7CheckHook pytest-mock ]);

@@ -32,10 +32,10 @@ python311Packages.buildPythonApplication rec {
    "test_when_successfully_configured"
  ];

  meta = with lib; {
  meta = {
    homepage = "https://github.com/nvbn/thefuck";
    description = "Magnificent app which corrects your previous console command";
    license = licenses.mit;
    maintainers = with maintainers; [ marcusramberg ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ marcusramberg ];
  };
}