hyprlang/nix/default.nix
Vaxry ec6938c662
core: Move to hyprutils for util functions (#48)
* move to hyprutils

* Nix: add hyprutils dep

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-06-08 23:24:12 +02:00

30 lines
529 B
Nix

{
lib,
stdenv,
cmake,
hyprutils,
pkg-config,
version ? "git",
doCheck ? false,
}:
stdenv.mkDerivation {
pname = "hyprlang";
inherit version doCheck;
src = ../.;
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [hyprutils];
outputs = ["out" "dev"];
meta = with lib; {
homepage = "https://github.com/hyprwm/hyprlang";
description = "The official implementation library for the hypr config language";
license = licenses.lgpl3Only;
platforms = platforms.linux;
};
}