aquamarine/nix/default.nix

71 lines
1,013 B
Nix
Raw Permalink 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,
2024-09-01 16:11:21 +02:00
wayland-scanner,
2024-07-01 09:52:16 +02:00
version ? "git",
doCheck ? false,
}:
stdenv.mkDerivation {
pname = "aquamarine";
inherit version doCheck;
src = ../.;
2024-07-27 19:21:53 +02:00
strictDeps = true;
2024-09-01 16:11:21 +02:00
depsBuildBuild = [
pkg-config
];
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
2024-09-18 15:14:14 +02:00
wayland-scanner
2024-07-01 09:52:16 +02:00
];
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;
};
}