miniflux: use buildGoPackage
This commit is contained in:
parent
605f89305a
commit
29a9c4fe91
@ -1,6 +1,6 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoPackage rec {
|
||||
pname = "miniflux";
|
||||
version = "2.0.17";
|
||||
|
||||
@ -11,7 +11,7 @@ buildGoModule rec {
|
||||
sha256 = "0bvlsa3ymhdl35bkv2v8lzkbjanyg7y474kbpbabmhwh5lvzgxlm";
|
||||
};
|
||||
|
||||
modSha256 = "0060px0av7l9x4xgmkci9d8yl4lgxzqrikqagnz0f17a944p9xdr";
|
||||
goPackagePath = "miniflux.app";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@ -20,7 +20,7 @@ buildGoModule rec {
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/miniflux.app $out/bin/miniflux
|
||||
mv $bin/bin/miniflux.app $bin/bin/miniflux
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user