Merge pull request #327979 from McSinyx/phylactery-0.2

phylactery: 0.1.2 -> 0.2.0
This commit is contained in:
Peder Bergebakken Sundt 2024-07-27 16:04:01 +02:00 committed by GitHub
commit 022bae040e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 15 deletions

View File

@ -1,22 +1,16 @@
{ lib, buildGoModule, fetchFromSourcehut, nixosTests }:
{ lib, buildGoModule, fetchzip, nixosTests }:
buildGoModule rec {
pname = "phylactery";
version = "0.1.2";
version = "0.2.0";
src = fetchFromSourcehut {
owner = "~cnx";
repo = pname;
rev = version;
hash = "sha256-HQN6wJ/4YeuQaDcNgdHj0RgYnn2NxXGRfxybmv60EdQ=";
src = fetchzip {
url = "https://trong.loang.net/phylactery/snapshot/phylactery-${version}.tar.gz";
hash = "sha256-UokK6rVjpzbcKOkZteo5kU7rFMm1meBUM4bkYAYM8rI=";
};
vendorHash = null;
preBuild = ''
cp ${./go.mod} go.mod
'';
ldflags = [ "-s" "-w" ];
passthru.tests.phylactery = nixosTests.phylactery;
@ -24,7 +18,7 @@ buildGoModule rec {
meta = with lib; {
description = "Old school comic web server";
mainProgram = "phylactery";
homepage = "https://git.sr.ht/~cnx/phylactery";
homepage = "https://trong.loang.net/phylactery/about";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ McSinyx ];
platforms = platforms.all;

View File

@ -1,3 +0,0 @@
module git.sr.ht/~cnx/phylactery
go 1.18