a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
27 lines
696 B
Nix
27 lines
696 B
Nix
{ lib, buildPythonPackage, fetchPypi, requests, beautifulsoup4, pytest, requests-mock,
|
|
pytest-runner }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "favicon";
|
|
version = "0.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6d6b5a78de2a0d0084589f687f384b2ecd6a6527093fec564403b1a30605d7a8";
|
|
};
|
|
|
|
buildInputs = [ pytest-runner ];
|
|
nativeCheckInputs = [ pytest requests-mock ];
|
|
propagatedBuildInputs = [ requests beautifulsoup4 ];
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Find a website's favicon";
|
|
homepage = "https://github.com/scottwernervt/favicon";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
};
|
|
}
|