nixpkgs/pkgs/applications/window-managers/miriway/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

72 lines
2.0 KiB
Nix
Raw Normal View History

2023-01-22 02:55:50 +00:00
{ stdenv
, lib
, fetchFromGitHub
, unstableGitUpdater
2023-02-04 01:23:14 +00:00
, nixosTests
2023-01-22 02:55:50 +00:00
, cmake
, pkg-config
, mir
, libxkbcommon
}:
stdenv.mkDerivation (finalAttrs: {
2023-01-22 02:55:50 +00:00
pname = "miriway";
version = "0-unstable-2024-05-17";
2023-01-22 02:55:50 +00:00
src = fetchFromGitHub {
owner = "Miriway";
repo = "Miriway";
rev = "5be8f60326181b22e111f02918ae5778cf1a89b0";
hash = "sha256-dHY0bfVfRpiBY5rPnhmu3aHXx1l9jQhXBtcBbej2JFk=";
2023-01-22 02:55:50 +00:00
};
strictDeps = true;
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
mir
libxkbcommon
];
passthru = {
updateScript = unstableGitUpdater { };
providedSessions = [ "miriway" ];
2023-02-04 01:23:14 +00:00
tests = {
inherit (nixosTests) miriway;
};
2023-01-22 02:55:50 +00:00
};
meta = with lib; {
description = "Mir based Wayland compositor";
longDescription = ''
Miriway is a starting point for creating a Wayland based desktop environment using Mir.
At the core of Miriway is miriway-shell, a Mir based Wayland compositor that provides:
- A "floating windows" window managament policy;
- Support for Wayland (and via Xwayland) X11 applications;
- Dynamic workspaces;
- Additional Wayland support for "shell components" such as panels and docs; and,
- Configurable shortcuts for launching standard apps such as launcher and terminal emulator.
In addition to miriway-shell, Miriway has:
- A "terminal emulator finder" script miriway-terminal, that works with most terminal emulators;
- A launch script miriway to simplify starting Miriway;
- A default configuration file miriway-shell.config; and,
- A greeter configuration miriway.desktop so Miriway can be selected at login
Miriway has been tested with shell components from several desktop environments and there are notes on
enabling these in miriway-shell.config.
'';
homepage = "https://github.com/Miriway/Miriway";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ OPNA2608 ];
};
})