hyprgraphics: init at 0.1.1

This commit is contained in:
Austin Horstman
2024-12-14 22:10:31 -06:00
parent 47c0835add
commit c9d5661658
+58
View File
@@ -0,0 +1,58 @@
{
lib,
gcc14Stdenv,
fetchFromGitHub,
cmake,
pkg-config,
cairo,
file,
hyprutils,
libjpeg,
libjxl,
libwebp,
pixman,
}:
gcc14Stdenv.mkDerivation (finalAttrs: {
pname = "hyprgraphics";
version = "0.1.1";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprgraphics";
rev = "v${finalAttrs.version}";
hash = "sha256-FFLJzFTyNhS7tBEEECx0B8Ye/bpmxhFVEKlECgMLc6c=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
cairo
file
hyprutils
libjpeg
libjxl
libwebp
pixman
];
outputs = [
"out"
"dev"
];
doCheck = true;
meta = {
homepage = "https://github.com/hyprwm/hyprlang";
description = "Official implementation library for the hypr config language";
license = lib.licenses.lgpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [
khaneliman
];
};
})