depot/third_party/nixpkgs/pkgs/development/python-modules/striprtf/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

26 lines
535 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "striprtf";
version = "0.0.20";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8eMeMrazl1o9XcIyWICDg6ycRMtFMfgTUNz51w9hAmc=";
};
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 ];
};
}