2022-12-04 00:44:12 +01:00
|
|
|
{
|
|
|
|
description = "xdg-desktop-portal-hyprland";
|
|
|
|
|
2022-12-04 22:12:57 +01:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
2023-08-09 23:22:51 +02:00
|
|
|
# <https://github.com/nix-systems/nix-systems>
|
|
|
|
systems.url = "github:nix-systems/default-linux";
|
|
|
|
|
2022-12-04 22:12:57 +01:00
|
|
|
hyprland-protocols = {
|
|
|
|
url = "github:hyprwm/hyprland-protocols";
|
2023-01-07 19:28:38 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-08-12 13:52:50 +02:00
|
|
|
inputs.systems.follows = "systems";
|
2022-12-04 22:12:57 +01:00
|
|
|
};
|
2024-01-03 13:03:53 +01:00
|
|
|
|
2024-01-06 11:52:33 +01:00
|
|
|
hyprlang = {
|
|
|
|
url = "github:hyprwm/hyprlang";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-09-20 16:27:10 +02:00
|
|
|
inputs.systems.follows = "systems";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprutils = {
|
|
|
|
url = "github:hyprwm/hyprutils";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.systems.follows = "systems";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprwayland-scanner = {
|
|
|
|
url = "github:hyprwm/hyprwayland-scanner";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.systems.follows = "systems";
|
2024-01-06 11:52:33 +01:00
|
|
|
};
|
2022-12-04 22:12:57 +01:00
|
|
|
};
|
2022-12-04 00:44:12 +01:00
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
2023-08-09 23:22:51 +02:00
|
|
|
systems,
|
2022-12-04 00:44:12 +01:00
|
|
|
...
|
2022-12-04 22:12:57 +01:00
|
|
|
} @ inputs: let
|
2022-12-04 00:44:12 +01:00
|
|
|
inherit (nixpkgs) lib;
|
2023-08-09 23:22:51 +02:00
|
|
|
eachSystem = lib.genAttrs (import systems);
|
|
|
|
pkgsFor = eachSystem (system:
|
2023-05-02 05:10:10 +02:00
|
|
|
import nixpkgs {
|
2023-08-09 23:22:51 +02:00
|
|
|
localSystem = system;
|
2024-09-20 16:27:10 +02:00
|
|
|
overlays = [self.overlays.default];
|
2023-05-02 05:10:10 +02:00
|
|
|
});
|
2022-12-04 00:44:12 +01:00
|
|
|
in {
|
2023-08-09 23:22:51 +02:00
|
|
|
overlays = import ./nix/overlays.nix {inherit self inputs lib;};
|
2022-12-04 00:44:12 +01:00
|
|
|
|
2023-08-09 23:22:51 +02:00
|
|
|
packages = eachSystem (system: {
|
2023-09-09 20:55:23 +02:00
|
|
|
inherit (pkgsFor.${system}) xdg-desktop-portal-hyprland;
|
2023-08-09 23:22:51 +02:00
|
|
|
default = self.packages.${system}.xdg-desktop-portal-hyprland;
|
|
|
|
});
|
2022-12-04 00:44:12 +01:00
|
|
|
|
2023-08-09 23:22:51 +02:00
|
|
|
formatter = eachSystem (system: nixpkgs.legacyPackages.${system}.alejandra);
|
2022-12-04 00:44:12 +01:00
|
|
|
};
|
|
|
|
}
|