2024-10-02 05:29:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
pkg-config,
|
|
|
|
cairo,
|
|
|
|
hyprlang,
|
|
|
|
librsvg,
|
|
|
|
libzip,
|
|
|
|
xcur2png,
|
|
|
|
tomlplusplus,
|
|
|
|
nix-update-script,
|
2024-03-10 04:58:59 +00:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "hyprcursor";
|
2024-10-02 05:29:46 +00:00
|
|
|
version = "0.1.10";
|
2024-03-10 04:58:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hyprwm";
|
|
|
|
repo = "hyprcursor";
|
|
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
2024-10-02 05:29:46 +00:00
|
|
|
hash = "sha256-NqihN/x8T4+wumSP1orwCCdEmD2xWgLR5QzfY+kAtuU=";
|
2024-03-10 04:58:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
hyprlang
|
|
|
|
librsvg
|
|
|
|
libzip
|
2024-10-02 05:29:46 +00:00
|
|
|
xcur2png
|
2024-04-09 09:23:40 +00:00
|
|
|
tomlplusplus
|
2024-03-10 04:58:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
"lib"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/hyprwm/hyprcursor";
|
|
|
|
description = "Hyprland cursor format, library and utilities";
|
|
|
|
changelog = "https://github.com/hyprwm/hyprcursor/releases/tag/v${finalAttrs.version}";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ iynaix ];
|
|
|
|
mainProgram = "hyprcursor-util";
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
})
|