From 5ca82ffa08af81f36ec998e7f49f53af7496a93a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 2 Nov 2026 19:53:17 +0100 Subject: pkgs/*: Use a `stable`/`unstable` marker in the filename --- pkgs/by-name/i3/i3bar-river-patched/package.nix | 54 ---------------------- .../i3/i3bar-river-patched/package.unstable.nix | 54 ++++++++++++++++++++++ 2 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 pkgs/by-name/i3/i3bar-river-patched/package.nix create mode 100644 pkgs/by-name/i3/i3bar-river-patched/package.unstable.nix (limited to 'pkgs/by-name/i3') diff --git a/pkgs/by-name/i3/i3bar-river-patched/package.nix b/pkgs/by-name/i3/i3bar-river-patched/package.nix deleted file mode 100644 index 26f11ab3..00000000 --- a/pkgs/by-name/i3/i3bar-river-patched/package.nix +++ /dev/null @@ -1,54 +0,0 @@ -# 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 = "d460a9a283426e9474a0034a146d09816e92f571"; - hash = "sha256-E04b2FzEhOX5NyE/VpEGdg27Sg+1+lSSRZbGyX6PXrk="; - }; - - 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; - }; -} diff --git a/pkgs/by-name/i3/i3bar-river-patched/package.unstable.nix b/pkgs/by-name/i3/i3bar-river-patched/package.unstable.nix new file mode 100644 index 00000000..26f11ab3 --- /dev/null +++ b/pkgs/by-name/i3/i3bar-river-patched/package.unstable.nix @@ -0,0 +1,54 @@ +# 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 = "d460a9a283426e9474a0034a146d09816e92f571"; + hash = "sha256-E04b2FzEhOX5NyE/VpEGdg27Sg+1+lSSRZbGyX6PXrk="; + }; + + 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; + }; +} -- cgit v1.3.1