f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
40 lines
852 B
Nix
40 lines
852 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;
|
|
hash = "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 ];
|
|
};
|
|
}
|