# Back - An extremely simple git bug visualization system. Inspired by TVL's # panettone. # # Copyright (C) 2024 Benedikt Peetz # Copyright (C) 2025 Benedikt Peetz # SPDX-License-Identifier: AGPL-3.0-or-later # # This file is part of Back. # # You should have received a copy of the License along with this program. # If not, see . { rustPlatform, lib, }: rustPlatform.buildRustPackage { pname = "back"; inherit ((builtins.fromTOML (builtins.readFile ../Cargo.toml)).package) version; src = lib.cleanSourceWith { src = lib.cleanSource ./..; filter = name: type: (type == "directory") || (builtins.elem (builtins.baseNameOf name) ["Cargo.toml" "Cargo.lock" "style.css" "search.png"]) || (lib.strings.hasSuffix ".rs" (builtins.baseNameOf name)); }; doCheck = true; cargoLock = { lockFile = ../Cargo.lock; }; meta = { mainProgram = "back"; description = "An extremely simple git bug visualization system. Inspired by TVL's panettone"; }; }