at 24.05-pre 750 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.3"; 15 16 src = fetchFromGitHub { 17 owner = "microformats"; 18 repo = "mf2py"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-Ya8DND1Dqbygbf1hjIGMlPwyc/MYIWIj+KnWB6Bqu1k="; 21 }; 22 23 propagatedBuildInputs = [ 24 beautifulsoup4 25 html5lib 26 requests 27 ]; 28 29 nativeCheckInputs = [ 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}