2024-01-25 14:12:00 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
}:
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "hyprlang";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.5.2";
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hyprwm";
|
|
|
|
repo = "hyprlang";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-Jq9hHYFL5nMHArWgJIcrDHGnzs/MjDi95cyB7cUZIJ4=";
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
2024-01-25 14:12:00 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
];
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/hyprwm/hyprlang";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Official implementation library for the hypr config language";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.lgpl3Only;
|
2024-01-25 14:12:00 +00:00
|
|
|
platforms = platforms.linux;
|
2024-02-29 20:09:43 +00:00
|
|
|
maintainers = with maintainers; [ iogamaster fufexan ];
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
})
|