depot/third_party/nixpkgs/pkgs/by-name/hy/hyprlang/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

37 lines
699 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hyprlang";
version = "0.5.2";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprlang";
rev = "v${finalAttrs.version}";
hash = "sha256-Jq9hHYFL5nMHArWgJIcrDHGnzs/MjDi95cyB7cUZIJ4=";
};
nativeBuildInputs = [
cmake
];
outputs = [
"out"
"dev"
];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/hyprwm/hyprlang";
description = "Official implementation library for the hypr config language";
license = licenses.lgpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ iogamaster fufexan ];
};
})