Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / striprtf / default.nix
blob95814c1c06032bd0defafd7743d9dba2bc345bf1
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     maintainers = with maintainers; [ aanderse ];
28     license = with licenses; [ bsd3 ];
29   };