mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
a27ca817c8
Diff: https://github.com/hyprwm/hyprcursor/compare/refs/tags/v0.1.9...v0.1.10 Changelog: https://github.com/hyprwm/hyprcursor/releases/tag/v0.1.10
58 lines
1.0 KiB
Nix
58 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
cairo,
|
|
hyprlang,
|
|
librsvg,
|
|
libzip,
|
|
xcur2png,
|
|
tomlplusplus,
|
|
nix-update-script,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hyprcursor";
|
|
version = "0.1.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hyprwm";
|
|
repo = "hyprcursor";
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
|
hash = "sha256-NqihN/x8T4+wumSP1orwCCdEmD2xWgLR5QzfY+kAtuU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
hyprlang
|
|
librsvg
|
|
libzip
|
|
xcur2png
|
|
tomlplusplus
|
|
];
|
|
|
|
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;
|
|
};
|
|
})
|