27 lines
713 B
Nix
27 lines
713 B
Nix
|
{ lib, stdenv, fetchFromGitea, buildGoModule}:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "go-jamming";
|
||
|
version = "2.0.2";
|
||
|
|
||
|
vendorSha256 = "sha256-2yM2oCTvAFj3BZah3qYnp8pwgo7e4vwGIgjia8tLAZk=";
|
||
|
|
||
|
# Tests require network access
|
||
|
doCheck = false;
|
||
|
|
||
|
src = fetchFromGitea {
|
||
|
domain = "git.brainbaking.com";
|
||
|
owner = "wgroeneveld";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
sha256 = "1zqfb55bdgwd3cyl3a5a9bsdhyc2ysdlr8q8hq9xay52lx0frc96";
|
||
|
};
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "A minimalistic Go-powered jamstack-augmented microservice for webmentions";
|
||
|
homepage = "https://git.brainbaking.com/wgroeneveld/go-jamming";
|
||
|
license = licenses.wtfpl;
|
||
|
maintainers = with maintainers; [thehedgeh0g];
|
||
|
};
|
||
|
}
|