nixpkgs/pkgs/by-name/hy/hyprutils/package.nix
2025-11-08 19:12:12 +00:00

49 lines
916 B
Nix

{
lib,
stdenv,
cmake,
pkg-config,
pixman,
fetchFromGitHub,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hyprutils";
version = "0.10.1";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprutils";
tag = "v${finalAttrs.version}";
hash = "sha256-gQ9zJ+pUI4o+Gh4Z6jhJll7jjCSwi8ZqJIhCE2oqwhQ=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
pixman
];
outputs = [
"out"
"dev"
];
cmakeBuildType = "RelWithDebInfo";
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/hyprwm/hyprutils";
description = "Small C++ library for utilities used across the Hypr* ecosystem";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux ++ lib.platforms.freebsd;
teams = [ lib.teams.hyprland ];
maintainers = with lib.maintainers; [ logger ];
};
})