mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
81 lines
1.3 KiB
Nix
81 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
fetchFromGitHub,
|
|
hwdata,
|
|
hyprutils,
|
|
hyprwayland-scanner,
|
|
libdisplay-info,
|
|
libdrm,
|
|
libffi,
|
|
libGL,
|
|
libinput,
|
|
mesa,
|
|
nix-update-script,
|
|
pixman,
|
|
pkg-config,
|
|
seatd,
|
|
udev,
|
|
wayland,
|
|
wayland-protocols,
|
|
wayland-scanner,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "aquamarine";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hyprwm";
|
|
repo = "aquamarine";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-EaKtf4mESHvHF2ak5Lt7ycSTLqdjI+Ry+zWpQaPqgD8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
hyprwayland-scanner
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
hwdata
|
|
hyprutils
|
|
libdisplay-info
|
|
libdrm
|
|
libffi
|
|
libGL
|
|
libinput
|
|
mesa
|
|
pixman
|
|
seatd
|
|
udev
|
|
wayland
|
|
wayland-protocols
|
|
wayland-scanner
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
cmakeBuildType = "RelWithDebInfo";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
changelog = "https://github.com/hyprwm/aquamarine/releases/tag/v${finalAttrs.version}";
|
|
description = "A very light linux rendering backend library";
|
|
homepage = "https://github.com/hyprwm/aquamarine";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
fufexan
|
|
johnrtitor
|
|
];
|
|
platforms = lib.platforms.linux ++ lib.platforms.freebsd;
|
|
};
|
|
})
|