blob: cfe34f1195f9bca1e2637c16ee4aea1444f4bfb8 (
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
31
|
{
buildPythonPackage,
lib,
fetchFromGitHub,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "rtfunicode";
version = "2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "mjpieters";
repo = "rtfunicode";
tag = version;
hash = "sha256-mo3kuuK1epcH0Iyi9GYpZOYsUI4etWheyEPdw/S3tJE=";
};
nativeBuildInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "rtfunicode" ];
meta = {
description = "Encoder for unicode to RTF 1.5 command sequences";
maintainers = [ lib.maintainers.lucasew ];
license = lib.licenses.bsd2;
homepage = "https://github.com/mjpieters/rtfunicode";
changelog = "https://github.com/mjpieters/rtfunicode/releases/tag/${version}";
};
}
|