1 { lib, buildGoModule, fetchFromGitHub, installShellFiles, nixosTests }:
7 src = fetchFromGitHub {
10 rev = "refs/tags/${version}";
11 hash = "sha256-1EH8KtKdAssxLk0IyhJsbrFU1obDTvmaGtFyLVlnOdQ=";
14 vendorHash = "sha256-kr2qCKuwp6Fpr0zEjggqk4Mff3V9pxGLU71lRhdRrW8=";
16 nativeBuildInputs = [ installShellFiles ];
18 checkFlags = [ "-skip=TestClient" ]; # skip client tests as they require network access
21 "-s" "-w" "-X miniflux.app/v2/internal/version.Version=${version}"
25 mv $out/bin/miniflux.app $out/bin/miniflux
26 installManPage miniflux.1
29 passthru.tests = nixosTests.miniflux;
32 description = "Minimalist and opinionated feed reader";
33 homepage = "https://miniflux.app/";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ rvolosatovs benpye emilylange ];
36 mainProgram = "miniflux";