2023-04-27 00:58:01 +02:00
|
|
|
{
|
|
|
|
description = "Hyprland Plugins";
|
|
|
|
|
|
|
|
inputs.hyprland.url = "github:hyprwm/Hyprland";
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
hyprland,
|
|
|
|
}: let
|
|
|
|
inherit (hyprland.inputs) nixpkgs;
|
|
|
|
withPkgsFor = fn: nixpkgs.lib.genAttrs (builtins.attrNames hyprland.packages) (system: fn system nixpkgs.legacyPackages.${system});
|
|
|
|
in {
|
|
|
|
packages = withPkgsFor (system: pkgs: {
|
2023-10-04 11:08:57 +02:00
|
|
|
borders-plus-plus = pkgs.callPackage ./borders-plus-plus {
|
|
|
|
inherit (hyprland.packages.${system}) hyprland;
|
|
|
|
stdenv = pkgs.gcc13Stdenv;
|
|
|
|
};
|
|
|
|
csgo-vulkan-fix = pkgs.callPackage ./csgo-vulkan-fix {
|
|
|
|
inherit (hyprland.packages.${system}) hyprland;
|
|
|
|
stdenv = pkgs.gcc13Stdenv;
|
|
|
|
};
|
|
|
|
hyprbars = pkgs.callPackage ./hyprbars {
|
|
|
|
inherit (hyprland.packages.${system}) hyprland;
|
|
|
|
stdenv = pkgs.gcc13Stdenv;
|
|
|
|
};
|
2023-11-06 12:16:01 +01:00
|
|
|
hyprtrails = pkgs.callPackage ./hyprtrails {
|
|
|
|
inherit (hyprland.packages.${system}) hyprland;
|
|
|
|
stdenv = pkgs.gcc13Stdenv;
|
|
|
|
};
|
2023-11-24 23:25:12 +01:00
|
|
|
hyprwinwrap = pkgs.callPackage ./hyprwinwrap {
|
|
|
|
inherit (hyprland.packages.${system}) hyprland;
|
|
|
|
stdenv = pkgs.gcc13Stdenv;
|
|
|
|
};
|
2023-04-27 00:58:01 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
devShells = withPkgsFor (system: pkgs: {
|
2023-10-04 11:08:57 +02:00
|
|
|
default = pkgs.mkShell.override {stdenv = pkgs.gcc13Stdenv;} {
|
2023-04-27 00:58:01 +02:00
|
|
|
name = "hyprland-plugins";
|
|
|
|
buildInputs = [hyprland.packages.${system}.hyprland];
|
|
|
|
inputsFrom = [hyprland.packages.${system}.hyprland];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
}
|