Merge pull request #93670 from etu/miniflux-update

miniflux: 2.0.21 -> 2.0.23
This commit is contained in:
Martin Weinelt 2020-09-19 18:31:03 +02:00 committed by GitHub
commit a58c4fe367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 7 deletions

View File

@ -1,17 +1,20 @@
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }: { stdenv, buildGoModule, fetchFromGitHub, installShellFiles, nixosTests }:
buildGoPackage rec { let
pname = "miniflux"; pname = "miniflux";
version = "2.0.21"; version = "2.0.23";
in buildGoModule {
inherit pname version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0yhzmfs35jfc7vq26r9c14v4lnv8sxj3pv23r2cx2rfx47b1zmk7"; sha256 = "0v0n5lvrfn3ngs1s1m3hv95dvnqn8ysksb044m4ifk2cr3b77ryc";
}; };
goPackagePath = "miniflux.app"; vendorSha256 = "1iin5r9l8wb9gm0bwgdmpx0cp1q35ij4y7zf98lnj2kvb3jv5crp";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -23,9 +26,11 @@ buildGoPackage rec {
postInstall = '' postInstall = ''
mv $out/bin/miniflux.app $out/bin/miniflux 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; { meta = with stdenv.lib; {
description = "Minimalist and opinionated feed reader"; description = "Minimalist and opinionated feed reader";
homepage = "https://miniflux.app/"; homepage = "https://miniflux.app/";
@ -33,4 +38,3 @@ buildGoPackage rec {
maintainers = with maintainers; [ rvolosatovs benpye ]; maintainers = with maintainers; [ rvolosatovs benpye ];
}; };
} }