at master 732 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "striprtf"; 11 version = "0.0.29"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-WoItB14XQXk07Trdb8ebX8j7VE/kNwsviUzdKPDd144="; 19 }; 20 21 build-system = [ hatchling ]; 22 23 pythonImportsCheck = [ "striprtf" ]; 24 25 meta = with lib; { 26 changelog = "https://github.com/joshy/striprtf/blob/v${version}/CHANGELOG.md"; 27 homepage = "https://github.com/joshy/striprtf"; 28 description = "Simple library to convert rtf to text"; 29 mainProgram = "striprtf"; 30 maintainers = with maintainers; [ aanderse ]; 31 license = with licenses; [ bsd3 ]; 32 }; 33}