# Mpdpopm - A mpd rating tracker # # Copyright (C) 2026 Benedikt Peetz, Michael Herstine # SPDX-License-Identifier: AGPL-3.0-or-later # # This file is part of Mpdpopm. # # You should have received a copy of the License along with this program. # If not, see . { description = "A mpd rating tracker"; inputs = { }; outputs = {self, ...}: let system = "x86_64-linux"; sources = import ../../../../npins/full.nix {}; pkgs = sources.load "nixpkgs"; treefmt-nix = sources.loadFlake "treefmt-nix"; treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;}; in { checks."${system}" = { formatting = treefmtEval.config.build.check self; }; formatter."${system}" = treefmtEval.config.build.wrapper; devShells."${system}".default = pkgs.mkShell { packages = [ # rust stuff pkgs.cargo pkgs.clippy pkgs.rustc pkgs.rustfmt pkgs.mold pkgs.cargo-edit pkgs.cargo-expand pkgs.cargo-flamegraph # Releng pkgs.git-bug pkgs.reuse pkgs.cocogitto # Perf pkgs.hyperfine ]; }; }; } # vim: ts=2