nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 26 lines 535 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "striprtf"; 8 version = "0.0.20"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-8eMeMrazl1o9XcIyWICDg6ycRMtFMfgTUNz51w9hAmc="; 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}