9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
30 lines
663 B
Nix
30 lines
663 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "striprtf";
|
|
version = "0.0.25";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-5soxa3sCeBeYeNsxr4Y96ztTVdeSHgSH/6z8WWUvGQI=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"striprtf"
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/joshy/striprtf/blob/v${version}/CHANGELOG.md";
|
|
homepage = "https://github.com/joshy/striprtf";
|
|
description = "A simple library to convert rtf to text";
|
|
maintainers = with maintainers; [ aanderse ];
|
|
license = with licenses; [ bsd3 ];
|
|
};
|
|
}
|