depot/third_party/nixpkgs/pkgs/tools/misc/whatsapp-chat-exporter/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

38 lines
1 KiB
Nix

{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "whatsapp-chat-exporter";
version = "0.10.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "KnugiHK";
repo = "Whatsapp-Chat-Exporter";
rev = "refs/tags/${version}";
hash = "sha256-W66qEQa7jlgd8v6dsIVAz6gmWsYr3SMqyhF2KIwC6hI=";
};
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 ];
};
}