fedifetcher: init at 5.0.1
This commit is contained in:
parent
9a12eb1007
commit
42259c8739
39
pkgs/tools/misc/fedifetcher/default.nix
Normal file
39
pkgs/tools/misc/fedifetcher/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{ lib, fetchFromGitHub, python3 }:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "fedifetcher";
|
||||||
|
version = "5.0.1";
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nanos";
|
||||||
|
repo = "FediFetcher";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-O7YDxNQel1XFSjGrzdBI4PsejmzPVLvYLNF/vZgdh4w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
python-dateutil
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -vD find_posts.py $out/bin/fedifetcher
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A 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 = with maintainers; [ delroth ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3470,6 +3470,8 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fedifetcher = callPackage ../tools/misc/fedifetcher { };
|
||||||
|
|
||||||
fitnesstrax = callPackage ../applications/misc/fitnesstrax { };
|
fitnesstrax = callPackage ../applications/misc/fitnesstrax { };
|
||||||
|
|
||||||
flavours = callPackage ../applications/misc/flavours { };
|
flavours = callPackage ../applications/misc/flavours { };
|
||||||
|
|
Loading…
Reference in a new issue