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.

33 lines
682 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";
version = "0.4.0";
2024-01-02 21:50:49 +00:00
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprlang";
rev = "v${finalAttrs.version}";
hash = "sha256-nW3Zrhh9RJcMTvOcXAaKADnJM/g6tDf3121lJtTHnYo=";
2024-01-02 21:50:49 +00:00
};
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;
2024-02-21 17:58:15 +00:00
maintainers = with maintainers; [ iogamaster fufexan ];
2024-01-02 21:50:49 +00:00
};
})