mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
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:
parent
62748bdf42
commit
1fe4eeccae
46
pkgs/development/python-modules/compressed-rtf/default.nix
Normal file
46
pkgs/development/python-modules/compressed-rtf/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user