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


                        
                    



                               
                                                                                

    
                                         

                                              
 
                    





                                                           
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, pytest, pytest-metadata, setuptools-scm }:

buildPythonPackage rec {
  pname = "pytest-html";
  version = "3.1.1";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3";
  };

  nativeBuildInputs = [ setuptools-scm ];
  buildInputs = [ pytest ];
  propagatedBuildInputs = [ pytest-metadata ];

  meta = with lib; {
    description = "Plugin for generating HTML reports";
    homepage = "https://github.com/pytest-dev/pytest-html";
    license = licenses.mpl20;
    maintainers = with maintainers; [ mpoquet ];
  };
}