nixpkgs/pkgs/by-name/aq/aquamarine/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

81 lines
1.3 KiB
Nix
Raw Normal View History

2024-07-21 18:44:12 +00:00
{
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,
2024-07-21 18:44:12 +00:00
}:
stdenv.mkDerivation (finalAttrs: {
pname = "aquamarine";
version = "0.4.3";
2024-07-21 18:44:12 +00:00
src = fetchFromGitHub {
owner = "hyprwm";
repo = "aquamarine";
rev = "v${finalAttrs.version}";
hash = "sha256-44bnoY0nAvbBQ/lVjmn511yL39Sv7SknV0BDxn34P3Q=";
2024-07-21 18:44:12 +00:00
};
nativeBuildInputs = [
cmake
hyprwayland-scanner
pkg-config
];
buildInputs = [
hwdata
2024-07-21 18:44:12 +00:00
hyprutils
libdisplay-info
libdrm
libffi
libGL
libinput
mesa
pixman
seatd
udev
wayland
wayland-protocols
wayland-scanner
2024-07-21 18:44:12 +00:00
];
strictDeps = true;
2024-07-21 18:44:12 +00:00
outputs = [
"out"
"dev"
];
cmakeBuildType = "RelWithDebInfo";
2024-08-07 20:05:43 +00:00
passthru.updateScript = nix-update-script { };
2024-07-21 18:44:12 +00:00
meta = {
changelog = "https://github.com/hyprwm/aquamarine/releases/tag/v${finalAttrs.version}";
2024-07-21 18:44:12 +00:00
description = "A very light linux rendering backend library";
homepage = "https://github.com/hyprwm/aquamarine";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
fufexan
johnrtitor
];
2024-08-07 20:05:43 +00:00
platforms = lib.platforms.linux ++ lib.platforms.freebsd;
2024-07-21 18:44:12 +00:00
};
})