2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication
|
2020-04-24 23:36:52 +00:00
|
|
|
, colorama, decorator, psutil, pyte, six
|
2021-02-13 14:23:35 +00:00
|
|
|
, go, mock, pytestCheckHook, pytest-mock
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "thefuck";
|
|
|
|
version = "3.30";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nvbn";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0fnf78956pwhb9cgv1jmgypnkma5xzflkivfrkfiadbgin848yfg";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ colorama decorator psutil pyte six ];
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
checkInputs = [ go mock pytestCheckHook pytest-mock ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/nvbn/thefuck";
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Magnificent app which corrects your previous console command";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2021-02-13 14:23:35 +00:00
|
|
|
maintainers = with maintainers; [ ma27 SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|