nixpkgs/pkgs/development/python-modules/rtfunicode/default.nix
Martin Weinelt 93492991b3 python3Packages.rtfunicode: 2.0 -> 2.3
https://github.com/mjpieters/rtfunicode/releases/tag/v2.3

This commit was automatically generated using update-python-libraries.
2026-02-01 17:38:49 +01:00

31 lines
739 B
Nix

{
buildPythonPackage,
lib,
fetchFromGitHub,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "rtfunicode";
version = "2.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "mjpieters";
repo = "rtfunicode";
tag = "v${version}";
hash = "sha256-dmPpMplCQIJMHhNFzOIjKwEHVio2mjFEbDmq1Y9UJkA=";
};
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/${src.tag}";
};
}