23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
30 lines
621 B
Nix
30 lines
621 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hyprlang";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hyprwm";
|
|
repo = "hyprlang";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-KjAYC3sMyfipCHpkj0XSPw/C9KdCNlWtguQW5rEUiqo=";
|
|
};
|
|
|
|
nativeBuildInputs = [cmake];
|
|
|
|
outputs = ["out" "dev"];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/hyprwm/hyprlang";
|
|
description = "The official implementation library for the hypr config language";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|