mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
290a5d916e
Based on "problems" from repology: https://repology.org/repository/nix_unstable/problems Mostly simple changes to reflect redirects.
28 lines
674 B
Nix
28 lines
674 B
Nix
{ 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 = https://github.com/scottwernervt/favicon;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
};
|
|
}
|