about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/striprtf/default.nix
blob: 0e884a09b4404908bdf84c784b2d5167d1e02047 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "striprtf";
  version = "0.0.19";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b7f15e11306e466dbe91665409233a06d9fdb4ee156489a3d879579891b04c25";
  };

  pythonImportsCheck = [
    "striprtf"
  ];

  meta = with lib; {
    homepage = "https://github.com/joshy/striprtf";
    description = "A simple library to convert rtf to text";
    maintainers = with maintainers; [ aanderse ];
    license = with licenses; [ bsd3 ];
  };
}