flake: add docker image

This commit is contained in:
Tim Schubert 2023-05-28 15:29:11 +02:00 committed by Tim Schubert
parent 0fce9e09c4
commit 0d0e88af1f
5 changed files with 52 additions and 34 deletions

View file

@ -1,9 +1,10 @@
{ pkgs, lib, buildGoModule }:
{ lib, buildGoModule }:
buildGoModule {
pname = "pad-archiver";
version = "0.0.1";
src = ../.;
vendorSha256 = "sha256-vBni3j3o0P13PJg/Ab1ux9zSVr05Iha/sb8dVTX4G0g=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Archives Etherpads with git";
homepage = "https://github.com/dadada/pad-archiver";