nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 beautifulsoup4,
6}:
7
8buildPythonPackage rec {
9 pname = "micawber";
10 version = "0.6.2";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-zATBml4Os2FbjNldWu/a1c3k9SphwS1FBxcn3+Ext2A=";
16 };
17
18 propagatedBuildInputs = [ beautifulsoup4 ];
19
20 meta = {
21 homepage = "https://micawber.readthedocs.io/en/latest/";
22 description = "Module for extracting rich content from URLs";
23 license = lib.licenses.mit;
24 longDescription = ''
25 micawber supplies a few methods for retrieving rich metadata
26 about a variety of links, such as links to youtube videos.
27 micawber also provides functions for parsing blocks of text and html
28 and replacing links to videos with rich embedded content.
29 '';
30 maintainers = with lib.maintainers; [ davidak ];
31 };
32}