miniflux: remove buildGoModule pin, replace let in with rec

Both nixos-unstable and nixos-23.11 now default to go 1.21 for
buildGoModule, rendering the pin redundant.
This commit is contained in:
emilylange 2023-12-17 19:49:32 +01:00
parent 233526c09a
commit a681ff90b7
No known key found for this signature in database
GPG Key ID: 0AD773CE46FD0F87

View File

@ -1,16 +1,13 @@
{ lib, buildGo121Module, fetchFromGitHub, installShellFiles, nixosTests }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, nixosTests }:
let
buildGoModule rec {
pname = "miniflux";
version = "2.0.51";
in buildGo121Module {
inherit pname version;
src = fetchFromGitHub {
owner = pname;
owner = "miniflux";
repo = "v2";
rev = version;
rev = "refs/tags/${version}";
hash = "sha256-gffiZOsHUYTDEjIdKUPyKbsdRKX890aG6GY72LYESkA=";
};