From 47127ce66e7f7c7dff3541fdd1bd7f80a339af5e Mon Sep 17 00:00:00 2001 From: Paul Haerle Date: Sat, 11 Nov 2023 12:53:44 +0000 Subject: [PATCH] signal-export: init at 1.6.1 (#266722) signal-export: init at 1.6.1 --- pkgs/by-name/si/signal-export/package.nix | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/si/signal-export/package.nix diff --git a/pkgs/by-name/si/signal-export/package.nix b/pkgs/by-name/si/signal-export/package.nix new file mode 100644 index 000000000000..d1e20fa68a0a --- /dev/null +++ b/pkgs/by-name/si/signal-export/package.nix @@ -0,0 +1,40 @@ +{ lib +, python3 +, fetchPypi +, nix-update-script +}: + +python3.pkgs.buildPythonApplication rec { + pname = "signal-export"; + version = "1.6.1"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-1efc8jclXE4PQ/K9q1GC0mGqYo5lXXOIYEzz3RDNBGA="; + }; + + 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 ]; + }; +}