Merge pull request #288861 from IogaMaster/niri-0.1.1
niri: init at 0.1.1
This commit is contained in:
commit
1c0eeac226
2 changed files with 4061 additions and 0 deletions
3986
pkgs/by-name/ni/niri/Cargo.lock
generated
Normal file
3986
pkgs/by-name/ni/niri/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
75
pkgs/by-name/ni/niri/package.nix
Normal file
75
pkgs/by-name/ni/niri/package.nix
Normal file
|
@ -0,0 +1,75 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, libxkbcommon
|
||||
, pango
|
||||
, pipewire
|
||||
, seatd
|
||||
, stdenv
|
||||
, wayland
|
||||
, systemd
|
||||
, libinput
|
||||
, mesa
|
||||
, fontconfig
|
||||
, libglvnd
|
||||
, libclang
|
||||
, autoPatchelfHook
|
||||
, clang
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "niri";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "YaLTeR";
|
||||
repo = "niri";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+Y7dnq8gwVxefwvRnamqGneCTI4uUXgAo0SEffIvNB0=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"smithay-0.3.0" = "sha256-TWq4L7Pe4/s0+hGjvTixoOFQ3P6tJXzV4/VgKcJ0tWU=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
autoPatchelfHook
|
||||
clang
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
wayland
|
||||
systemd # For libudev
|
||||
seatd # For libseat
|
||||
libxkbcommon
|
||||
libinput
|
||||
mesa # For libgbm
|
||||
fontconfig
|
||||
stdenv.cc.cc.lib
|
||||
pipewire
|
||||
pango
|
||||
];
|
||||
|
||||
runtimeDependencies = [
|
||||
wayland
|
||||
mesa
|
||||
libglvnd # For libEGL
|
||||
];
|
||||
|
||||
LIBCLANG_PATH = "${libclang.lib}/lib";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A scrollable-tiling Wayland compositor";
|
||||
homepage = "https://github.com/YaLTeR/niri";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ iogamaster ];
|
||||
mainProgram = "niri";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue