whatsapp-chat-exporter: init at 0.9.1
This commit is contained in:
parent
2a49ffd158
commit
ec5067be4d
46
pkgs/tools/misc/whatsapp-chat-exporter/default.nix
Normal file
46
pkgs/tools/misc/whatsapp-chat-exporter/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue