summary refs log blame commit diff
path: root/pkgs/development/python-modules/argcomplete/default.nix
blob: cf2f92557206e4b47b7d310d2fd58f2d28be0ac7 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                    
                   

                        
                        
                     


                          
                                                                                

    
                                                                 

                                                 
                                                      
 




                           
                     


                                         


                                                     
                                                        



                                         
{ buildPythonPackage, fetchPypi, lib
, dicttoxml
, importlib-metadata
, pexpect
, prettytable
, requests-toolbelt
}:
buildPythonPackage rec {
  pname = "argcomplete";
  version = "1.12.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "2c7dbffd8c045ea534921e63b0be6fe65e88599990d8dc408ac8c542b72a5445";
  };

  doCheck = false; # meant to be ran with interactive interpreter

  # re-enable if we are able to make testing work
  # checkInputs = [ bashInteractive coverage flake8 ];

  propagatedBuildInputs = [
    dicttoxml
    importlib-metadata
    pexpect
    prettytable
    requests-toolbelt
  ];

  pythonImportsCheck = [ "argcomplete" ];

  meta = with lib; {
    description = "Bash tab completion for argparse";
    homepage = "https://kislyuk.github.io/argcomplete/";
    maintainers = [ maintainers.womfoo ];
    license = [ licenses.asl20 ];
  };
}