14 src = fetchFromGitHub {
15 owner = "sysadminsmedia";
18 hash = "sha256-mhb4q0ja94TjvOzl28WVb3uzkR9MKlqifFJgUo6hfrA=";
22 inherit pname version src;
24 vendorHash = "sha256-QRmP6ichKjwDWEx13sEs1oetc4nojGyJnKafAATTNTA=";
26 # the goModules derivation inherits our buildInputs and buildPhases
27 # Since we do pnpm thing in those it fails if we don't explicitely remove them
28 overrideModAttrs = _: {
37 pnpmDeps = pnpm.fetchDeps {
38 inherit pname version;
39 src = "${src}/frontend";
40 hash = "sha256-MdTZJ/Ichpwc54r7jZjiFD12YOdRzHSuzRZ/PnDk2mY=";
42 pnpmRoot = "../frontend";
44 env.NUXT_TELEMETRY_DISABLED = 1;
53 mkdir -p ./app/api/static/public
54 cp -r ../frontend/.output/public/* ./app/api/static/public
71 "-X main.version=${version}"
72 "-X main.commit=${version}"
77 homepage = "https://homebox.software/";
78 description = "Inventory and organization system built for the Home User";
79 maintainers = with lib.maintainers; [ patrickdag ];
80 license = lib.licenses.agpl3Only;
81 platforms = lib.platforms.linux;