at 23.05-pre 730 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, beautifulsoup4 5, html5lib 6, requests 7, lxml 8, mock 9, nose 10}: 11 12buildPythonPackage rec { 13 pname = "mf2py"; 14 version = "1.1.2"; 15 16 src = fetchFromGitHub { 17 owner = "microformats"; 18 repo = "mf2py"; 19 rev = version; 20 sha256 = "sha256-9pAD/eCmc/l7LGmKixDhZy3hhj1jCmcyo9wbqgtz/wI="; 21 }; 22 23 propagatedBuildInputs = [ 24 beautifulsoup4 25 html5lib 26 requests 27 ]; 28 29 checkInputs = [ 30 lxml 31 mock 32 nose 33 ]; 34 35 pythonImportsCheck = [ "mf2py" ]; 36 37 meta = with lib; { 38 description = "Microformats2 parser written in Python"; 39 homepage = "https://microformats.org/wiki/mf2py"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ ambroisie ]; 42 }; 43}