update dependencies

This commit is contained in:
Martin Wurm 2025-01-23 00:07:36 +01:00
parent af3a5bbf8b
commit e2e3c89429
4 changed files with 28 additions and 24 deletions

View file

@ -1,5 +1,8 @@
{pkgs ? import <nixpkgs> {}}:
with pkgs; let
{
pkgs ? import <nixpkgs> { },
}:
with pkgs;
let
vendoredDeps = stdenv.mkDerivation rec {
name = "hugoVendoredDeps";
@ -22,26 +25,27 @@ with pkgs; let
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "sha256-3suJ9/OXtEqm3eg1zCEoA0TrAN+dYu+l6YRWjB41c6w=";
outputHash = "sha256-XW1XbDgoAb2CDgbRiCErxkQC47xHJBNgGbSWJg8XzeE=";
};
in
stdenv.mkDerivation rec {
name = "brokentech.cloud-${version}";
version = "1.1.0";
stdenv.mkDerivation rec {
name = "brokentech.cloud-${version}";
version = "1.1.1";
src = ./.;
src = ./.;
nativeBuildInputs = [
hugo
];
nativeBuildInputs = [
go
hugo
];
buildPhase = ''
ln -s ${vendoredDeps} _vendor
hugo
'';
buildPhase = ''
ln -s ${vendoredDeps} _vendor
hugo
'';
installPhase = ''
mkdir -p $out
cp -r ./public/* $out
'';
}
installPhase = ''
mkdir -p $out
cp -r ./public/* $out
'';
}

2
go.mod
View file

@ -2,4 +2,4 @@ module git.brokentech.cloud/mart-w/brokentech.cloud
go 1.21.5
require github.com/jpanther/lynx v1.3.1 // indirect
require github.com/jpanther/lynx v1.4.0 // indirect

4
go.sum
View file

@ -1,2 +1,2 @@
github.com/jpanther/lynx v1.3.1 h1:s3u2mC2VU8SgJ/Jlk7PbdrmLy1T63QvuwGQbvS9QqdI=
github.com/jpanther/lynx v1.3.1/go.mod h1:nUK1+IfScKhRA3/jBH+YCYfpO3znP5Nsm6ROFGpma44=
github.com/jpanther/lynx v1.4.0 h1:ymYkoVjFXkdzSD6YBjF6zsTUK3kSi3QTxtxpHtsnlhw=
github.com/jpanther/lynx v1.4.0/go.mod h1:nUK1+IfScKhRA3/jBH+YCYfpO3znP5Nsm6ROFGpma44=

View file

@ -3,12 +3,12 @@ languageCode = "en-gb"
defaultContentLanguage = "en"
title = "The Broken Tech Cloud"
copyright = "&copy; 2024 mart-w"
copyright = "&copy; 2025 mart-w"
enableEmoji = true
disableKinds = ["taxonomy", "term"]
[author]
[params.author]
name = "The Broken Tech Cloud"
headline = "Making innocent web apps cloud since 2021"
image = "logo_big.png"