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