add flake

This commit is contained in:
Tim Schubert 2022-05-22 15:07:21 +02:00
parent 73ffdfd63a
commit eac632d0cc
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
7 changed files with 95 additions and 0 deletions

13
nix/default.nix Normal file
View file

@ -0,0 +1,13 @@
{ pkgs, lib, buildGoModule }:
buildGoModule {
pname = "pad-archiver";
version = "0.0.1";
src = ../.;
vendorSha256 = "sha256-e9I2mhSjLxMuCO9+g13XbDYI15Q879iG1AGZv6otuEA=";
meta = with lib; {
description = "Archives Etherpads with git";
homepage = "https://git.fginfo.tu-bs.de/fginfo/pad-archiver";
license = licenses.mit;
maintainers = [ "y0067212" ];
};
}