niri: init at 0.1.0-alpha.2

This commit is contained in:
Gabriel Arazas 2023-12-27 19:15:25 +08:00
parent 3afb2e4d56
commit 2c8abcda1b
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 3802 additions and 0 deletions

View File

@ -25,6 +25,7 @@ let
mopidy-funkwhale = callPackage ./mopidy-funkwhale.nix { };
mopidy-internetarchive = callPackage ./mopidy-internetarchive.nix { };
nautilus-annotations = callPackage ./nautilus-annotations { };
niri = callPackage ./niri { };
pop-launcher-plugin-brightness = callPackage ./pop-launcher-plugin-brightness { };
pop-launcher-plugin-duckduckgo-bangs =
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };

3740
pkgs/niri/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

61
pkgs/niri/default.nix Normal file
View File

@ -0,0 +1,61 @@
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, pipewire
, udev
, clang
, libclang
, libxkbcommon
, libinput
, systemd
, wayland
, mesa
, seatd
}:
rustPlatform.buildRustPackage rec {
pname = "niri";
version = "0.1.0-alpha.2";
src = fetchFromGitHub {
owner = "YaLTeR";
repo = pname;
rev = "v${version}";
hash = "sha256-eNzmQCgOUCX0RT/9ilhf1RXWorHM9SOVSP1brKevkjs=";
};
nativeBuildInputs = [
pkg-config
clang
];
buildInputs = [
libclang.lib
libinput
libxkbcommon
mesa
pipewire
seatd
systemd
udev
wayland
];
env.LIBCLANG_PATH = "${libclang.lib}/lib";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"smithay-0.3.0" = "sha256-Eqs4wqogdld6MHOXQ2NRFCgJH4RHf4mYWFdjRVUVxsk=";
};
};
meta = with lib; {
homepage = "https://github.com/YaLTeR/niri";
description = "Scrollable tiling window manager";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ];
platforms = platforms.linux;
};
}