homebox: 0.19.0 -> 0.20.2 (#421105)
This commit is contained in:
@@ -72,6 +72,8 @@
|
||||
|
||||
- The systemd initrd will now respect `x-systemd.wants` and `x-systemd.requires` for reliably unlocking multi-disk bcachefs volumes.
|
||||
|
||||
- [`homebox` 0.20.0](https://github.com/sysadminsmedia/homebox/releases/tag/v0.20.0) changed how assets are stored and hashed. It is recommended to back up your database before this update.
|
||||
|
||||
- New hardening flags, `strictflexarrays1` and `strictflexarrays3` were made available, corresponding to the gcc/clang options `-fstrict-flex-arrays=1` and `-fstrict-flex-arrays=3` respectively.
|
||||
|
||||
- `gramps` has been updated to 6.0.0
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildGo123Module,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
pnpm_9,
|
||||
nodejs,
|
||||
go_1_23,
|
||||
go_1_24,
|
||||
git,
|
||||
cacert,
|
||||
nixosTests,
|
||||
}:
|
||||
let
|
||||
pname = "homebox";
|
||||
version = "0.19.0";
|
||||
version = "0.20.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sysadminsmedia";
|
||||
repo = "homebox";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-98V2JnxHnMkW8YD8QekNgKeh9aPp0mcosmGh07GAFaU=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-6AJYC5SIITLBgYOq8TdwxAvRcyg8MOoA7WUDar9jSxM=";
|
||||
};
|
||||
in
|
||||
buildGo123Module {
|
||||
buildGoModule {
|
||||
inherit pname version src;
|
||||
|
||||
vendorHash = "sha256-SkfYNOyRlcUSfga0g8o7yIvxgdL9SMxgVgRjIcPru0A=";
|
||||
vendorHash = "sha256-GTSFpfql0ebXtZC3LeIZo8VbCZdsbemNK5EarDTRAf0=";
|
||||
modRoot = "backend";
|
||||
# the goModules derivation inherits our buildInputs and buildPhases
|
||||
# Since we do pnpm thing in those it fails if we don't explicitly remove them
|
||||
overrideModAttrs = _: {
|
||||
nativeBuildInputs = [
|
||||
go_1_23
|
||||
go_1_24
|
||||
git
|
||||
cacert
|
||||
];
|
||||
@@ -39,7 +39,7 @@ buildGo123Module {
|
||||
inherit pname version;
|
||||
src = "${src}/frontend";
|
||||
fetcherVersion = 1;
|
||||
hash = "sha256-6Q+tIY5dl5jCQyv1F8btLdJg0oEUGs0Wyu/joVdVhf8=";
|
||||
hash = "sha256-gHQ8Evo31SFmnBHtLDY5j5zZwwVS4fmkT+9VHZJWhfs=";
|
||||
};
|
||||
pnpmRoot = "../frontend";
|
||||
|
||||
@@ -65,12 +65,16 @@ buildGo123Module {
|
||||
env.CGO_ENABLED = 0;
|
||||
doCheck = false;
|
||||
|
||||
tags = [
|
||||
"nodynamic"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-extldflags=-static"
|
||||
"-X main.version=${version}"
|
||||
"-X main.commit=${version}"
|
||||
"-X main.version=${src.tag}"
|
||||
"-X main.commit=${src.tag}"
|
||||
];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
@@ -91,7 +95,10 @@ buildGo123Module {
|
||||
mainProgram = "api";
|
||||
homepage = "https://homebox.software/";
|
||||
description = "Inventory and organization system built for the Home User";
|
||||
maintainers = with lib.maintainers; [ patrickdag ];
|
||||
maintainers = with lib.maintainers; [
|
||||
patrickdag
|
||||
tebriel
|
||||
];
|
||||
license = lib.licenses.agpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user