1{ stdenv, buildPythonPackage, fetchPypi, beautifulsoup4 }:
2
3buildPythonPackage rec {
4 pname = "micawber";
5 version = "0.3.5";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0pnq6j8f144virhri0drgf0058x6qcxfd5yrb0ynbwr8djh326yn";
10 };
11
12 propagatedBuildInputs = [ beautifulsoup4 ];
13
14 meta = with stdenv.lib; {
15 homepage = http://micawber.readthedocs.io/en/latest/;
16 description = "A small library for extracting rich content from urls";
17 license = licenses.mit;
18 longDescription = ''
19 micawber supplies a few methods for retrieving rich metadata
20 about a variety of links, such as links to youtube videos.
21 micawber also provides functions for parsing blocks of text and html
22 and replacing links to videos with rich embedded content.
23 '';
24 maintainers = with maintainers; [ davidak ];
25 };
26}