depot/third_party/nixpkgs/pkgs/tools/backup/mastodon-archive/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

32 lines
689 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "mastodon-archive";
version = "1.4.2";
src = fetchFromGitHub {
owner = "kensanata";
repo = "mastodon-backup";
rev = "v${version}";
hash = "sha256-b4bYQshz7mwxEfpRYV7ze4C8hz58R9cVp58wHvGFb0A=";
};
propagatedBuildInputs = with python3.pkgs; [
html2text
mastodon-py
progress
];
# There is no test
doCheck = false;
meta = with lib; {
description = "Utility for backing up your Mastodon content";
homepage = "https://alexschroeder.ch/software/Mastodon_Archive";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ julm ];
};
}