1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "striprtf"; 8 version = "0.0.21"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-/wqYbdJ+OI/RTODnKB34e7zADHzCPEX0LkTausqFNtY="; 14 }; 15 16 pythonImportsCheck = [ 17 "striprtf" 18 ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/joshy/striprtf"; 22 description = "A simple library to convert rtf to text"; 23 maintainers = with maintainers; [ aanderse ]; 24 license = with licenses; [ bsd3 ]; 25 }; 26}