depot/third_party/nixpkgs/pkgs/by-name/si/signal-export/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

40 lines
855 B
Nix

{ lib
, python3
, fetchPypi
, nix-update-script
}:
python3.pkgs.buildPythonApplication rec {
pname = "signal-export";
version = "1.7.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-OikD5z0Ota0w4PTdLU4cz0YO/bJHAlzy3nup06GtiS4=";
};
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 ];
};
}