# nixos-config - My current NixOS configuration # # Copyright (C) 2025 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of my nixos-config. # # You should have received a copy of the License along with this program. # If not, see . { lib, fetchFromGitHub, rustPlatform, pkg-config, pango, }: rustPlatform.buildRustPackage { pname = "i3bar-river-patched"; version = "1.1.0-unstable-2025-05-20"; src = fetchFromGitHub { owner = "bpeetz"; repo = "i3bar-river"; rev = "bdaf362f24c143beeb92b783af15d3b99a0490e4"; hash = "sha256-jOv/DmXBpUCV/zbkWSKSYQ+yXcZZQY+T03rNre9hjn8="; }; cargoHash = "sha256-jIB4XH67FmtPxAatHkuW8v5mNgr/KsyriaBNZ5t2dLo="; cargoPatches = [ # TODO(@bpeetz): Open an issues, whether something like that could be up-streamed. <2025-05-20> ./0001-feat-crate-bar-Put-the-leftmost-block-in-the-middle-.patch ]; # Remove the WMs that I don't use. buildNoDefaultFeatures = true; buildFeatures = [ # "hyprland" # "niri" "river" ]; nativeBuildInputs = [pkg-config]; buildInputs = [pango]; meta = with lib; { description = "Port of i3bar for river"; homepage = "https://github.com/MaxVerevkin/i3bar-river"; license = licenses.gpl3Only; maintainers = with maintainers; [nicegamer7]; mainProgram = "i3bar-river"; platforms = platforms.linux; }; }