blob: 547f1b7f43b9f2066143a304fb520fb0b1f0108b (
plain)
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
27
28
29
30
|
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
}:
buildPythonPackage rec {
pname = "striprtf";
version = "0.0.29";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-WoItB14XQXk07Trdb8ebX8j7VE/kNwsviUzdKPDd144=";
};
build-system = [ hatchling ];
pythonImportsCheck = [ "striprtf" ];
meta = {
changelog = "https://github.com/joshy/striprtf/blob/v${version}/CHANGELOG.md";
homepage = "https://github.com/joshy/striprtf";
description = "Simple library to convert rtf to text";
mainProgram = "striprtf";
maintainers = with lib.maintainers; [ aanderse ];
license = with lib.licenses; [ bsd3 ];
};
}
|