pythonPackages.favicon: init at 0.5.1 (#54920)

This commit is contained in:
Enno Lohmeier 2019-01-30 14:03:16 +01:00 committed by Robert Schütz
parent edbb9922c4
commit c995ad005e
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchPypi, requests, beautifulsoup4, pytest, requests-mock,
pytestrunner }:
buildPythonPackage rec {
pname = "favicon";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "01jhb66nrqbf22z6ybpi8ndw6zifgysdmnh547027g96nz51669y";
};
buildInputs = [ pytestrunner ];
checkInputs = [ pytest requests-mock ];
propagatedBuildInputs = [ requests beautifulsoup4 ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Find a website's favicon";
homepage = http://github.com/scottwernervt/favicon;
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}

View file

@ -370,6 +370,8 @@ in {
fastpbkdf2 = callPackage ../development/python-modules/fastpbkdf2 { };
favicon = callPackage ../development/python-modules/favicon { };
fido2 = callPackage ../development/python-modules/fido2 { };
filterpy = callPackage ../development/python-modules/filterpy { };