nixpkgs/pkgs/tools/misc/thefuck/default.nix

28 lines
736 B
Nix
Raw Normal View History

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