python311Packages.compressed-rtf: init at 1.0.6-unstable-2023-10-15

Compressed Rich Text Format (RTF) compression and decompression

https://github.com/delimitry/compressed_rtf
This commit is contained in:
Fabian Affolter 2024-03-18 09:38:32 +01:00
parent 62748bdf42
commit 1fe4eeccae
2 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "compressed-rtf";
version = "1.0.6-unstable-2023-10-15";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "delimitry";
repo = "compressed_rtf";
# https://github.com/delimitry/compressed_rtf/issues/15
rev = "581400c1b4c69ab0d944cfb5ca82c32059bbcc96";
hash = "sha256-ivvND+cOCAmRyO8yL0+WhFY/2OkrJ+E/o4xWWd7ivHA=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"compressed_rtf"
];
pytestFlagsArray = [
"tests/tests.py"
];
meta = with lib; {
description = "Compressed Rich Text Format (RTF) compression and decompression";
homepage = "https://github.com/delimitry/compressed_rtf";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2353,6 +2353,8 @@ self: super: with self; {
compressai = callPackage ../development/python-modules/compressai { };
compressed-rtf = callPackage ../development/python-modules/compressed-rtf { };
concurrent-log-handler = callPackage ../development/python-modules/concurrent-log-handler { };
conda = callPackage ../development/python-modules/conda { };
@ -6941,7 +6943,7 @@ self: super: with self; {
mako = callPackage ../development/python-modules/mako { };
malduck= callPackage ../development/python-modules/malduck { };
malduck = callPackage ../development/python-modules/malduck { };
managesieve = callPackage ../development/python-modules/managesieve { };