mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-12-22 09:59:48 +01:00
Fix pkg-config and Nix
This commit is contained in:
parent
5cb3d2ba62
commit
db5e1399b9
3 changed files with 8 additions and 4 deletions
|
@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.19)
|
|||
|
||||
set(HYPRLANG_VERSION "0.2.0")
|
||||
set(PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
set(INCLUDE ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
|
||||
project(hyprlang
|
||||
VERSION ${HYPRLANG_VERSION}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
prefix="@PREFIX@"
|
||||
includedir="${prefix}/include"
|
||||
prefix=@PREFIX@
|
||||
includedir=@INCLUDE@
|
||||
libdir=${prefix}/lib
|
||||
|
||||
Name: hyprlang
|
||||
URL: https://github.com/hyprwm/hyprlang
|
||||
Description: The official implementation library for the hypr config language.
|
||||
Version: @HYPRLANG_VERSION@
|
||||
Cflags: -I"${prefix}/include"
|
||||
libs: -lhyprlang
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -lhyprlang
|
||||
|
|
|
@ -12,6 +12,8 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [cmake];
|
||||
|
||||
outputs = ["out" "dev"];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/hyprwm/hyprlang";
|
||||
description = "The official implementation library for the hypr config language";
|
||||
|
|
Loading…
Reference in a new issue