aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/default.nix1
-rw-r--r--pkgs/wayback-x11/default.nix64
2 files changed, 65 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 7d110eb..3ae8c62 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -2,4 +2,5 @@ pkgs: {
gearmulator = pkgs.callPackage ./gearmulator { };
igir = pkgs.callPackage ./igir { };
sdrconnect = pkgs.callPackage ./sdrconnect { };
+ wayback-x11 = pkgs.callPackage ./waybck-x11 { };
}
diff --git a/pkgs/wayback-x11/default.nix b/pkgs/wayback-x11/default.nix
new file mode 100644
index 0000000..e1b9c02
--- /dev/null
+++ b/pkgs/wayback-x11/default.nix
@@ -0,0 +1,64 @@
+{
+ fetchFromGitLab,
+ lib,
+ libxkbcommon,
+ meson,
+ ninja,
+ pixman,
+ pkg-config,
+ scdoc,
+ stdenv,
+ unstableGitUpdater,
+ wayland,
+ wayland-protocols,
+ wayland-scanner,
+ wlroots_0_19,
+ xwayland,
+}:
+
+stdenv.mkDerivation {
+ pname = "wayback";
+ version = "0.1";
+
+ src = fetchFromGitLab {
+ domain = "gitlab.freedesktop.org";
+ owner = "wayback";
+ repo = "wayback";
+ rev = "156d7a86d112cd1bd70c2f75cb190fdd98565080";
+ hash = "sha256-A4Ur32QZc0foS+O+jfQCug0k32nvYkB2MoacDT4W7dQ=";
+ };
+
+ strictDeps = true;
+
+ depsBuildBuild = [
+ pkg-config
+ ];
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ pkg-config
+ scdoc
+ wayland-scanner
+ ];
+
+ buildInputs = [
+ libxkbcommon
+ pixman
+ wayland
+ wayland-protocols
+ wlroots_0_19
+ xwayland
+ ];
+
+ passthru.updateScript = unstableGitUpdater { };
+
+ meta = {
+ description = "X11 compatibility layer leveraging wlroots and Xwayland";
+ homepage = "https://wayback.freedesktop.org";
+ license = lib.licenses.mit;
+ platforms = lib.platforms.linux;
+ mainProgram = "wayback-session";
+ maintainers = with lib.maintainers; [ dramforever ];
+ };
+}