2024-06-20 14:57:18 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
cmake,
|
|
|
|
pkg-config,
|
|
|
|
pixman,
|
|
|
|
fetchFromGitHub,
|
2024-07-01 15:47:52 +00:00
|
|
|
nix-update-script,
|
2024-06-20 14:57:18 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "hyprutils";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.2.0";
|
2024-06-20 14:57:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hyprwm";
|
|
|
|
repo = "hyprutils";
|
|
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-qmC9jGfbE4+EIBbbSAkrfR/p49wShjpv4/KztgE/P54=";
|
2024-06-20 14:57:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pixman
|
|
|
|
];
|
|
|
|
|
|
|
|
outputs = ["out" "dev"];
|
|
|
|
|
|
|
|
cmakeBuildType = "RelWithDebInfo";
|
|
|
|
|
2024-07-01 15:47:52 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
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;
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
donovanglover
|
|
|
|
johnrtitor
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|