mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 03:34:12 +00:00
1b9d6db569
Changelog: https://github.com/nanos/FediFetcher/releases/tag/v7.1.1 Changelog: https://github.com/nanos/FediFetcher/releases/tag/v7.1.0 Changelog: https://github.com/nanos/FediFetcher/releases/tag/v7.0.8 Changelog: https://github.com/nanos/FediFetcher/releases/tag/v7.0.7 Changelog: https://github.com/nanos/FediFetcher/releases/tag/v7.0.6
42 lines
1.0 KiB
Nix
42 lines
1.0 KiB
Nix
{ lib, fetchFromGitHub, python3 }:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "fedifetcher";
|
|
version = "7.1.1";
|
|
format = "other";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nanos";
|
|
repo = "FediFetcher";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-HMpLn73PTk3kwlNof4EZhRHRlHUEfzJt5raYaEqWrjI=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
defusedxml
|
|
python-dateutil
|
|
requests
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -vD find_posts.py $out/bin/fedifetcher
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tool for Mastodon that automatically fetches missing replies and posts from other fediverse instances";
|
|
longDescription = ''
|
|
FediFetcher is a tool for Mastodon that automatically fetches missing
|
|
replies and posts from other fediverse instances, and adds them to your
|
|
own Mastodon instance.
|
|
'';
|
|
homepage = "https://blog.thms.uk/fedifetcher";
|
|
license = licenses.mit;
|
|
maintainers = teams.c3d2.members;
|
|
mainProgram = "fedifetcher";
|
|
};
|
|
}
|