Merge pull request #275044 from emilylange/miniflux

miniflux: 2.0.50 -> 2.0.51, add emilylange as maintainer, remove `buildGoModule` pin, replace `let in` with `rec`
This commit is contained in:
Adam C. Stephens 2023-12-17 21:58:18 -05:00 committed by GitHub
commit ca16221251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,29 +1,17 @@
{ lib, buildGo121Module, fetchFromGitHub, fetchpatch, installShellFiles, nixosTests }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, nixosTests }:
let
buildGoModule rec {
pname = "miniflux";
version = "2.0.50";
in buildGo121Module {
inherit pname version;
version = "2.0.51";
src = fetchFromGitHub {
owner = pname;
owner = "miniflux";
repo = "v2";
rev = version;
sha256 = "sha256-+oNF/Zwc1Z/cu3SQC/ZTekAW5Qef9RKrdszunLomGII=";
rev = "refs/tags/${version}";
hash = "sha256-gffiZOsHUYTDEjIdKUPyKbsdRKX890aG6GY72LYESkA=";
};
patches = [
(fetchpatch {
# https://github.com/miniflux/v2/pull/2193, remove after 2.0.50
name = "miniflux-user-agent-regression.patch";
url = "https://github.com/miniflux/v2/commit/7a03291442a4e35572c73a2fcfe809fa8e03063e.patch";
hash = "sha256-tJ1l5rqD0x0xtQs+tDwpFHOY+7k6X02bkwVJo6RAdb8=";
})
];
vendorHash = "sha256-jLyjQ+w/QS9uA0pGWF2X6dEfOifcI2gC2sgi1STEzpU=";
vendorHash = "sha256-yO4sNOkEDnM9eETE68C++dPnAfcoSMXznf5Nq4/iQmA=";
nativeBuildInputs = [ installShellFiles ];
@ -44,7 +32,7 @@ in buildGo121Module {
description = "Minimalist and opinionated feed reader";
homepage = "https://miniflux.app/";
license = licenses.asl20;
maintainers = with maintainers; [ rvolosatovs benpye ];
maintainers = with maintainers; [ rvolosatovs benpye emilylange ];
mainProgram = "miniflux";
};
}