mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 14:35:57 +01:00
nix/overlays: overlay pipewire 1.2.0
This commit is contained in:
parent
bc7131ce67
commit
b9b97e5ba2
1 changed files with 28 additions and 8 deletions
|
@ -19,7 +19,9 @@ in {
|
||||||
default = mkJoinedOverlays (with self.overlays; [
|
default = mkJoinedOverlays (with self.overlays; [
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
]);
|
]);
|
||||||
xdg-desktop-portal-hyprland = final: prev: {
|
xdg-desktop-portal-hyprland = lib.composeManyExtensions [
|
||||||
|
self.overlays.pipewire
|
||||||
|
(final: prev: {
|
||||||
xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
|
xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
|
||||||
stdenv = prev.gcc13Stdenv;
|
stdenv = prev.gcc13Stdenv;
|
||||||
inherit (final) hyprland-protocols;
|
inherit (final) hyprland-protocols;
|
||||||
|
@ -27,5 +29,23 @@ in {
|
||||||
inherit version;
|
inherit version;
|
||||||
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang;
|
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang;
|
||||||
};
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
# TODO: remove when https://nixpk.gs/pr-tracker.html?pr=322933 lands in unstable
|
||||||
|
pipewire = final: prev: {
|
||||||
|
pipewire = prev.pipewire.overrideAttrs (self: super: {
|
||||||
|
version = "1.2.0";
|
||||||
|
|
||||||
|
src = final.fetchFromGitLab {
|
||||||
|
domain = "gitlab.freedesktop.org";
|
||||||
|
owner = "pipewire";
|
||||||
|
repo = "pipewire";
|
||||||
|
rev = self.version;
|
||||||
|
hash = "sha256-hjjiH7+JoyRTcdbPDvkUEpO72b5p8CbTD6Un/vZrHL8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
mesonFlags = super.mesonFlags ++ [(final.lib.mesonEnable "snap" false)];
|
||||||
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue