2024-06-08 23:13:58 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
cmake,
|
2024-06-19 08:12:49 +02:00
|
|
|
pkg-config,
|
|
|
|
pixman,
|
2024-06-08 23:13:58 +02:00
|
|
|
version ? "git",
|
|
|
|
doCheck ? false,
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "hyprutils";
|
|
|
|
inherit version doCheck;
|
|
|
|
src = ../.;
|
|
|
|
|
2024-06-19 08:12:49 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pixman
|
|
|
|
];
|
2024-06-08 23:13:58 +02:00
|
|
|
|
|
|
|
outputs = ["out" "dev"];
|
|
|
|
|
2024-06-17 12:05:21 +02:00
|
|
|
cmakeBuildType = "RelWithDebInfo";
|
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
2024-06-08 23:13:58 +02:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/hyprwm/hyprutils";
|
|
|
|
description = "Small C++ library for utilities used across the Hypr* ecosystem";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|