aquamarine/nix/default.nix

65 lines
932 B
Nix
Raw Normal View History

2024-07-01 09:52:16 +02:00
{
lib,
stdenv,
cmake,
2024-07-02 18:53:21 +02:00
hwdata,
2024-07-01 09:52:16 +02:00
hyprutils,
hyprwayland-scanner,
libdisplay-info,
libdrm,
libffi,
2024-07-11 22:49:52 +02:00
libGL,
2024-07-01 09:52:16 +02:00
libinput,
libseat,
mesa,
pixman,
pkg-config,
udev,
wayland,
wayland-protocols,
version ? "git",
doCheck ? false,
}:
stdenv.mkDerivation {
pname = "aquamarine";
inherit version doCheck;
src = ../.;
2024-07-27 19:21:53 +02:00
strictDeps = true;
2024-07-01 09:52:16 +02:00
nativeBuildInputs = [
cmake
hyprwayland-scanner
pkg-config
];
buildInputs = [
2024-07-27 19:21:53 +02:00
hwdata
2024-07-01 09:52:16 +02:00
hyprutils
libdisplay-info
libdrm
libffi
2024-07-11 22:49:52 +02:00
libGL
2024-07-01 09:52:16 +02:00
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;
};
}