nixpkgs/pkgs/development/python-modules/striprtf/default.nix
2022-02-24 03:59:59 +00:00

27 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 ];
};
}