fedifetcher: 7.1.7 -> 7.1.12 (#342789)
This commit is contained in:
commit
61fd512be5
@ -1,21 +1,22 @@
|
|||||||
{ lib, fetchFromGitHub, python3 }:
|
{ lib, fetchFromGitHub, python3, stdenv }:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "fedifetcher";
|
pname = "fedifetcher";
|
||||||
version = "7.1.7";
|
version = "7.1.12";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nanos";
|
owner = "nanos";
|
||||||
repo = "FediFetcher";
|
repo = "FediFetcher";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-1QLVhqyH0wb8om2pFJfmgJcYp9DTuT5KZpLy5InlRr8=";
|
hash = "sha256-DWex4pZV9ZVR1bqYcOpTe74ZQCQCQQxjWrv0QgtRY40=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
defusedxml
|
defusedxml
|
||||||
python-dateutil
|
python-dateutil
|
||||||
requests
|
requests
|
||||||
|
xxhash
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -26,6 +27,14 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
checkPhase = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||||
|
runHook preCheck
|
||||||
|
|
||||||
|
$out/bin/fedifetcher --help>/dev/null
|
||||||
|
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool for Mastodon that automatically fetches missing replies and posts from other fediverse instances";
|
description = "Tool for Mastodon that automatically fetches missing replies and posts from other fediverse instances";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -34,6 +43,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
own Mastodon instance.
|
own Mastodon instance.
|
||||||
'';
|
'';
|
||||||
homepage = "https://blog.thms.uk/fedifetcher";
|
homepage = "https://blog.thms.uk/fedifetcher";
|
||||||
|
changelog = "https://github.com/nanos/FediFetcher/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = teams.c3d2.members;
|
maintainers = teams.c3d2.members;
|
||||||
mainProgram = "fedifetcher";
|
mainProgram = "fedifetcher";
|
||||||
|
Loading…
Reference in New Issue
Block a user