nixpkgs/pkgs/tools/misc/whatsapp-chat-exporter/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.0 KiB
Nix
Raw Normal View History

2023-05-19 00:24:23 +00:00
{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "whatsapp-chat-exporter";
2023-11-13 22:31:08 +00:00
version = "0.9.7";
2023-05-19 00:24:23 +00:00
format = "setuptools";
src = fetchFromGitHub {
owner = "KnugiHK";
repo = "Whatsapp-Chat-Exporter";
rev = "refs/tags/${version}";
2023-11-13 22:31:08 +00:00
hash = "sha256-ySKZM7zmPKb+AHAK7IDpn07qinwz0YY8btb4KWGfy7w=";
2023-05-19 00:24:23 +00:00
};
propagatedBuildInputs = with python3Packages; [
bleach
jinja2
pycryptodome
javaobj-py3
];
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 ];
};
}