# Back - An extremely simple git issue tracking system. Inspired by tvix's # panettone # # Copyright (C) 2024 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"; version = "1.0.0"; src = lib.cleanSourceWith { src = lib.cleanSource ./.; filter = name: type: (type == "directory") || (builtins.elem (builtins.baseNameOf name) ["Cargo.toml" "Cargo.lock" "style.css"]) || (lib.strings.hasSuffix ".rs" (builtins.baseNameOf name)); }; doCheck = true; cargoLock = { lockFile = ./Cargo.lock; }; meta = { mainProgram = "back"; }; }