at master 910 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 beautifulsoup4, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "micawber"; 11 version = "0.5.6"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-INxOB0wXp0GIC0ic8lWIRcBQmH9beWyP8H6i/wEajI0="; 19 }; 20 21 propagatedBuildInputs = [ beautifulsoup4 ]; 22 23 meta = with lib; { 24 homepage = "https://micawber.readthedocs.io/en/latest/"; 25 description = "Module for extracting rich content from URLs"; 26 license = licenses.mit; 27 longDescription = '' 28 micawber supplies a few methods for retrieving rich metadata 29 about a variety of links, such as links to youtube videos. 30 micawber also provides functions for parsing blocks of text and html 31 and replacing links to videos with rich embedded content. 32 ''; 33 maintainers = with maintainers; [ davidak ]; 34 }; 35}