summary refs log blame commit diff
path: root/pkgs/tools/misc/thefuck/default.nix
blob: 7ede307a86fb151eae234c98c6e86be04fa9856f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              
                                        
                                        
  
 
                            
                    
                   
 

                         
                 
                  
                                                                   

    

                                                                 
                                                        
 
                    
                                                 
                                                                                 
                           
                                                             

    
{ lib, fetchFromGitHub, buildPythonApplication
, colorama, decorator, psutil, pyte, six
, go, mock, pytestCheckHook, pytest-mock
}:

buildPythonApplication rec {
  pname = "thefuck";
  version = "3.31";

  src = fetchFromGitHub {
    owner = "nvbn";
    repo = pname;
    rev = version;
    sha256 = "sha256-eKKUUJr00sUtT4u91MUgJjyPOXp3NigYVfYUP/sDBhY=";
  };

  propagatedBuildInputs = [ colorama decorator psutil pyte six ];

  checkInputs = [ go mock pytestCheckHook pytest-mock ];

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