2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication
|
2017-12-14 17:31:25 +00:00
|
|
|
, colorama, decorator, psutil, pyte, six
|
2021-02-12 18:43:48 +00:00
|
|
|
, go, mock, pytestCheckHook, pytest-mock
|
2017-12-14 17:31:25 +00:00
|
|
|
}:
|
2017-06-14 09:57:38 +01:00
|
|
|
|
2017-12-14 17:31:25 +00:00
|
|
|
buildPythonApplication rec {
|
2017-06-14 09:57:38 +01:00
|
|
|
pname = "thefuck";
|
2021-06-14 18:22:25 +01:00
|
|
|
version = "3.31";
|
2017-06-14 09:57:38 +01:00
|
|
|
|
2017-12-14 17:31:25 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nvbn";
|
2019-09-09 00:38:31 +01:00
|
|
|
repo = pname;
|
2017-12-14 17:31:25 +00:00
|
|
|
rev = version;
|
2021-06-14 18:22:25 +01:00
|
|
|
sha256 = "sha256-eKKUUJr00sUtT4u91MUgJjyPOXp3NigYVfYUP/sDBhY=";
|
2017-06-14 09:57:38 +01:00
|
|
|
};
|
|
|
|
|
2017-12-14 17:31:25 +00:00
|
|
|
propagatedBuildInputs = [ colorama decorator psutil pyte six ];
|
|
|
|
|
2021-02-12 18:43:48 +00:00
|
|
|
checkInputs = [ go mock pytestCheckHook pytest-mock ];
|
2017-06-14 09:57:38 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/nvbn/thefuck";
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "Magnificent app which corrects your previous console command";
|
2017-06-14 09:57:38 +01:00
|
|
|
license = licenses.mit;
|
2021-02-12 18:43:48 +00:00
|
|
|
maintainers = with maintainers; [ ma27 SuperSandro2000 ];
|
2017-06-14 09:57:38 +01:00
|
|
|
};
|
|
|
|
}
|