2025-07-27 10:14:40 +00:00

46 lines
896 B
Nix

{
lib,
python3,
fetchPypi,
nix-update-script,
}:
python3.pkgs.buildPythonApplication rec {
pname = "signal-export";
version = "3.7.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "signal_export";
hash = "sha256-xaXU+SODijD/iq2owj5IPKL+L2nrVfi573P58Txz8io=";
};
build-system = with python3.pkgs; [
pdm-backend
];
propagatedBuildInputs = with python3.pkgs; [
typer
beautifulsoup4
emoji
markdown
pycryptodome
sqlcipher3-wheels
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
mainProgram = "sigexport";
homepage = "https://github.com/carderne/signal-export";
description = "Export your Signal chats to markdown files with attachments";
platforms = platforms.unix;
license = licenses.mit;
maintainers = with maintainers; [
phaer
picnoir
];
};
}