whatsapp-chat-exporter: init at 0.9.1

This commit is contained in:
Benno Bielmeier 2023-05-19 02:24:23 +02:00
parent 2a49ffd158
commit ec5067be4d
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, python3Packages
, fetchFromGitHub
, withEncryptedAndroid ? false
, withCrypt12 ? false
, withCrypt14 ? false
, withCrypt15 ? false
}:
python3Packages.buildPythonApplication rec {
pname = "whatsapp-chat-exporter";
version = "0.9.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "KnugiHK";
repo = "Whatsapp-Chat-Exporter";
rev = "refs/tags/${version}";
hash = "sha256-DvCYMfR9GgdP9rVpcoIR5nG9b4ToOBMG1a9OTvjfIiU=";
};
propagatedBuildInputs = with python3Packages; [
bleach
jinja2
] ++ lib.optionals (withEncryptedAndroid || withCrypt15) [
pycryptodome
javaobj-py3
] ++ lib.optionals (withCrypt12 || withCrypt14) [
pycryptodome
];
meta = with lib; {
homepage = "https://github.com/KnugiHK/Whatsapp-Chat-Exporter";
description = "WhatsApp database parser";
changelog = "https://github.com/KnugiHK/Whatsapp-Chat-Exporter/releases/tag/${version}";
longDescription = ''
A customizable Android and iPhone WhatsApp database parser that will give
you the history of your WhatsApp conversations inHTML and JSON. Android
Backup Crypt12, Crypt14 and Crypt15 supported.
'';
license = licenses.mit;
mainProgram = "wtsexporter";
maintainers = with maintainers; [ bbenno ];
};
}

View file

@ -13571,6 +13571,8 @@ with pkgs;
whatip = callPackage ../tools/networking/whatip { };
whatsapp-chat-exporter = callPackage ../tools/misc/whatsapp-chat-exporter { };
whatweb = callPackage ../tools/security/whatweb { };
whipper = callPackage ../applications/audio/whipper { };