hyprutils/nix/default.nix

28 lines
504 B
Nix
Raw Normal View History

2024-06-08 23:13:58 +02:00
{
lib,
stdenv,
cmake,
version ? "git",
doCheck ? false,
}:
stdenv.mkDerivation {
pname = "hyprutils";
inherit version doCheck;
src = ../.;
nativeBuildInputs = [cmake];
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;
};
}