hyprcursor/nix/default.nix

47 lines
665 B
Nix
Raw Permalink Normal View History

2024-03-09 00:46:16 +01:00
{
lib,
stdenv,
cmake,
pkg-config,
cairo,
hyprlang,
librsvg,
libzip,
2024-08-01 08:23:07 +02:00
xcur2png,
2024-04-04 19:01:46 +02:00
tomlplusplus,
2024-03-09 00:46:16 +01:00
version ? "git",
}:
stdenv.mkDerivation {
pname = "hyprcursor";
inherit version;
src = ../.;
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
cairo
hyprlang
librsvg
libzip
2024-08-01 08:23:07 +02:00
xcur2png
2024-04-04 19:01:46 +02:00
tomlplusplus
2024-03-09 00:46:16 +01:00
];
outputs = [
2024-03-09 00:54:27 +01:00
"out"
2024-03-09 00:46:16 +01:00
"dev"
"lib"
];
meta = {
homepage = "https://github.com/hyprwm/hyprcursor";
description = "The hyprland cursor format, library and utilities";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
mainProgram = "hyprcursor";
};
}