Skip to content

Commit

Permalink
Merge pull request #93670 from etu/miniflux-update
Browse files Browse the repository at this point in the history
miniflux: 2.0.21 -> 2.0.23
  • Loading branch information
mweinelt authored Sep 19, 2020
2 parents 4de27b1 + 9f74a46 commit a58c4fe
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions pkgs/servers/miniflux/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }:
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles, nixosTests }:

buildGoPackage rec {
let
pname = "miniflux";
version = "2.0.21";
version = "2.0.23";

in buildGoModule {
inherit pname version;

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0yhzmfs35jfc7vq26r9c14v4lnv8sxj3pv23r2cx2rfx47b1zmk7";
sha256 = "0v0n5lvrfn3ngs1s1m3hv95dvnqn8ysksb044m4ifk2cr3b77ryc";
};

goPackagePath = "miniflux.app";
vendorSha256 = "1iin5r9l8wb9gm0bwgdmpx0cp1q35ij4y7zf98lnj2kvb3jv5crp";

nativeBuildInputs = [ installShellFiles ];

Expand All @@ -23,14 +26,15 @@ buildGoPackage rec {

postInstall = ''
mv $out/bin/miniflux.app $out/bin/miniflux
installManPage go/src/${goPackagePath}/miniflux.1
installManPage miniflux.1
'';

passthru.tests = nixosTests.miniflux;

meta = with stdenv.lib; {
description = "Minimalist and opinionated feed reader";
homepage = "https://miniflux.app/";
license = licenses.asl20;
maintainers = with maintainers; [ rvolosatovs benpye ];
};
}

0 comments on commit a58c4fe

Please sign in to comment.