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


                        
                     


                          
                                                                    

    
                         
 



                                               


                                            
                                                       



                                                   
{ stdenv, buildPythonPackage, fetchPypi
, nose, pyyaml, pathspec }:

buildPythonPackage rec {
  pname = "yamllint";
  version = "1.20.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1gx3f9wcf8af9cz2v3x3196pab34n8mlqk5iswahhzpxc9i2p4bn";
  };

  checkInputs = [ nose ];

  propagatedBuildInputs = [  pyyaml pathspec ];

  # Two test failures
  doCheck = false;

  meta = with stdenv.lib; {
    description = "A linter for YAML files";
    homepage = https://github.com/adrienverge/yamllint;
    license = licenses.gpl3;
    maintainers = with maintainers; [ mikefaille ];
  };
}