10 buildPythonPackage rec {
11 pname = "compressed-rtf";
12 version = "1.0.6-unstable-2023-10-15";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
19 repo = "compressed_rtf";
20 # https://github.com/delimitry/compressed_rtf/issues/15
21 rev = "581400c1b4c69ab0d944cfb5ca82c32059bbcc96";
22 hash = "sha256-ivvND+cOCAmRyO8yL0+WhFY/2OkrJ+E/o4xWWd7ivHA=";
25 nativeBuildInputs = [ setuptools ];
27 nativeCheckInputs = [ pytestCheckHook ];
29 pythonImportsCheck = [ "compressed_rtf" ];
31 pytestFlagsArray = [ "tests/tests.py" ];
34 description = "Compressed Rich Text Format (RTF) compression and decompression";
35 homepage = "https://github.com/delimitry/compressed_rtf";
36 license = licenses.mit;
37 maintainers = with maintainers; [ fab ];