nixpkgs/pkgs/by-name/hy/hyprlang/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
699 B
Nix
Raw Normal View History

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