mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 18:19:48 +01:00
67 lines
1 KiB
Nix
67 lines
1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
hwdata,
|
|
hyprutils,
|
|
hyprwayland-scanner,
|
|
libdisplay-info,
|
|
libdrm,
|
|
libffi,
|
|
libGL,
|
|
libinput,
|
|
libseat,
|
|
mesa,
|
|
pixman,
|
|
pkg-config,
|
|
udev,
|
|
wayland,
|
|
wayland-protocols,
|
|
# wayland-scanner,
|
|
version ? "git",
|
|
doCheck ? false,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "aquamarine";
|
|
inherit version doCheck;
|
|
src = ../.;
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
hyprwayland-scanner
|
|
pkg-config
|
|
# re-add after https://github.com/NixOS/nixpkgs/pull/214906 hits nixos-unstable
|
|
# wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
hwdata
|
|
hyprutils
|
|
libdisplay-info
|
|
libdrm
|
|
libffi
|
|
libGL
|
|
libinput
|
|
libseat
|
|
mesa
|
|
pixman
|
|
udev
|
|
wayland
|
|
wayland-protocols
|
|
];
|
|
|
|
outputs = ["out" "dev"];
|
|
|
|
cmakeBuildType = "RelWithDebInfo";
|
|
|
|
dontStrip = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/hyprwm/aquamarine";
|
|
description = "A very light linux rendering backend library";
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|