sourcehut.pagessrht: 0.6.2 -> 0.7.3

This commit is contained in:
Julien Moutinho
2022-06-08 19:46:04 -04:00
committed by tomberek
parent bcb91bbeb7
commit 47680ca9e3
@@ -1,20 +1,21 @@
{ lib
, fetchFromSourcehut
, buildGoModule
, unzip
}:
buildGoModule rec {
buildGoModule (rec {
pname = "pagessrht";
version = "0.6.2";
version = "0.7.3";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "pages.sr.ht";
rev = version;
sha256 = "sha256-ob0+t9V2o8lhVC6fXbi1rNm0Mnbs+GoyAmhBqVZ13PA=";
sha256 = "sha256-fHhf4VQ82/k4g8pzyuN9Pr2f8mxT8zw+2Nq0nw1Msks=";
};
vendorSha256 = "sha256-b0sHSH0jkKoIVq045N96wszuLJDegkkj0v50nuDFleU=";
vendorSha256 = "sha256-/+XVl6PZUMOZIiuO6vEu0dacefz2hDSObaP8JsItSTw=";
postInstall = ''
mkdir -p $out/share/sql/
@@ -27,4 +28,6 @@ buildGoModule rec {
license = licenses.agpl3Only;
maintainers = with maintainers; [ eadwu ];
};
}
# There is no ./loaders but this does not cause troubles
# to go generate
} // import ./fix-gqlgen-trimpath.nix {inherit unzip;})