depot/third_party/nixpkgs/pkgs/tools/backup/mastodon-archive/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

32 lines
692 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "mastodon-archive";
version = "1.3.1";
src = fetchFromGitHub {
owner = "kensanata";
repo = "mastodon-backup";
rev = "v${version}";
sha256 = "1dlrkygywxwm6xbn0pnfwd3f7641wnvxdyb5qihbsf62w1w08x8r";
};
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 ];
};
}