hyprlang/nix/default.nix

31 lines
529 B
Nix
Raw Permalink Normal View History

2023-12-28 22:11:34 +01:00
{
lib,
stdenv,
cmake,
hyprutils,
pkg-config,
2023-12-28 22:11:34 +01:00
version ? "git",
2023-12-28 22:27:46 +01:00
doCheck ? false,
2023-12-28 22:11:34 +01:00
}:
stdenv.mkDerivation {
pname = "hyprlang";
2023-12-28 22:27:46 +01:00
inherit version doCheck;
2023-12-28 22:11:34 +01:00
src = ../.;
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [hyprutils];
2023-12-28 22:11:34 +01:00
2024-01-02 22:13:20 +01:00
outputs = ["out" "dev"];
2023-12-28 22:11:34 +01:00
meta = with lib; {
homepage = "https://github.com/hyprwm/hyprlang";
description = "The official implementation library for the hypr config language";
2024-03-03 17:10:57 +01:00
license = licenses.lgpl3Only;
2023-12-28 22:11:34 +01:00
platforms = platforms.linux;
};
}