hyprcursor/nix/default.nix

43 lines
607 B
Nix
Raw Normal View History

2024-03-09 00:46:16 +01:00
{
lib,
stdenv,
cmake,
pkg-config,
cairo,
hyprlang,
librsvg,
libzip,
version ? "git",
}:
stdenv.mkDerivation {
pname = "hyprcursor";
inherit version;
src = ../.;
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
cairo
hyprlang
librsvg
libzip
];
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";
};
}