Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / striprtf / default.nix
blobd7024ef130de553968c864310d90a819335453de
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 }:
7 buildPythonPackage rec {
8   pname = "striprtf";
9   version = "0.0.26";
10   format = "setuptools";
12   disabled = pythonOlder "3.7";
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-/bK7p6xEAHLRxB6rUNjXSuiPYKi2V1xuLHgF3EYgk6o=";
17   };
19   pythonImportsCheck = [
20     "striprtf"
21   ];
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     mainProgram = "striprtf";
28     maintainers = with maintainers; [ aanderse ];
29     license = with licenses; [ bsd3 ];
30   };