3
0
Fork 0
forked from mirrors/nixpkgs

miniflux: use buildGoPackage

This commit is contained in:
Mario Rodas 2019-09-21 04:28:00 -05:00
parent 605f89305a
commit 29a9c4fe91

View file

@ -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; {