Add comentario
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,23 +1,24 @@
|
||||
{ pkgs, ... }:
|
||||
# AUTO-UPDATE: nix-update --flake comentario --version=branch=dev --subpackage frontend
|
||||
pkgs.buildGoModule (finalAttrs: {
|
||||
pkgs.buildGo125Module (finalAttrs: {
|
||||
pname = "comentario";
|
||||
version = "3.14.0-unstable-2025-08-29";
|
||||
version = "3.14.0-unstable-2025-09-09";
|
||||
|
||||
src = pkgs.fetchFromGitLab {
|
||||
owner = "comentario";
|
||||
repo = "comentario";
|
||||
# FIXME: Stable rev once type error is fixed
|
||||
rev = "90773f976366318389f9d5aa457e6303e6159740";
|
||||
hash = "sha256-f0Y+OdbsG8eA2kD17b4QWaL0hAuoF476XtYm/aFOmLY=";
|
||||
rev = "4abffe7cfacbcd3f2c477089747f96dd15a96f2f";
|
||||
hash = "sha256-71Xh/W/SRIfbmmnimOASAxps1xGQFK3gE0ZwZ3BXOBA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# FIXME: https://gitlab.com/comentario/comentario/-/merge_requests/23
|
||||
./dynamic-config-env-vars.patch
|
||||
./superuser-claim.patch
|
||||
];
|
||||
|
||||
vendorHash = "sha256-IYo1Z7BVTGafsN4gC554S33r7X9Urb1uS4RkOqMYlP0=";
|
||||
vendorHash = "sha256-AOI/WnVkrSgJlT2FtYOTuifOPw8sfc4C0g/prVkvJlA=";
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
go-swagger
|
||||
@@ -37,7 +38,7 @@ pkgs.buildGoModule (finalAttrs: {
|
||||
missingHashes = ./missing-hashes.json;
|
||||
offlineCache = pkgs.yarn-berry.fetchYarnBerryDeps {
|
||||
inherit (finalFrontendAttrs) src patches missingHashes;
|
||||
hash = "sha256-bn/PNgk7ZjCzGSj7BQQCB+5RY+ivJGYZa2/GC4eRjPY=";
|
||||
hash = "sha256-dYk85+e9C0yHZ9jYgsefStZfyQFZZku+Z4Kn7bN4Qjw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
|
Reference in New Issue
Block a user