15 src = fetchFromGitHub {
16 owner = "sysadminsmedia";
19 hash = "sha256-2jB2Oo0dK36n5tQPrGNyPO3Q0yNkUms4RPQzXiDzuks=";
23 inherit pname version src;
25 vendorHash = "sha256-Ftm5tR3w8S3mjYLJG0+17nYP5kDbaAd8QkbZpNt7WuE=";
27 # the goModules derivation inherits our buildInputs and buildPhases
28 # Since we do pnpm thing in those it fails if we don't explicitely remove them
29 overrideModAttrs = _: {
38 pnpmDeps = pnpm.fetchDeps {
39 inherit pname version;
40 src = "${src}/frontend";
41 hash = "sha256-fOb3oboNlOv/TpIrs3BsSlxIqNbbtSCE8zLMia2RIDw=";
43 pnpmRoot = "../frontend";
45 env.NUXT_TELEMETRY_DISABLED = 1;
54 mkdir -p ./app/api/static/public
55 cp -r ../frontend/.output/public/* ./app/api/static/public
72 "-X main.version=${version}"
73 "-X main.commit=${version}"
78 inherit (nixosTests) homebox;
84 homepage = "https://homebox.software/";
85 description = "Inventory and organization system built for the Home User";
86 maintainers = with lib.maintainers; [ patrickdag ];
87 license = lib.licenses.agpl3Only;
88 platforms = lib.platforms.linux;