Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6}: 7 8buildPythonPackage rec { 9 pname = "striprtf"; 10 version = "0.0.26"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-/bK7p6xEAHLRxB6rUNjXSuiPYKi2V1xuLHgF3EYgk6o="; 18 }; 19 20 pythonImportsCheck = [ "striprtf" ]; 21 22 meta = with lib; { 23 changelog = "https://github.com/joshy/striprtf/blob/v${version}/CHANGELOG.md"; 24 homepage = "https://github.com/joshy/striprtf"; 25 description = "Simple library to convert rtf to text"; 26 mainProgram = "striprtf"; 27 maintainers = with maintainers; [ aanderse ]; 28 license = with licenses; [ bsd3 ]; 29 }; 30}