depot/third_party/nixpkgs/pkgs/by-name/si/signal-export/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

40 lines
854 B
Nix

{ lib
, python3
, fetchPypi
, nix-update-script
}:
python3.pkgs.buildPythonApplication rec {
pname = "signal-export";
version = "1.8.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Hm0BVF2RUsxDacsAB3MJtk1t9FYmBPjeb5JzwaLkZ14=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools-scm
];
propagatedBuildInputs = with python3.pkgs; [
setuptools
typer
beautifulsoup4
emoji
markdown
pysqlcipher3
];
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 ];
};
}