hyprwayland-scanner/nix/default.nix

28 lines
486 B
Nix
Raw Normal View History

2024-04-20 12:40:18 +02:00
{
lib,
stdenv,
cmake,
pkg-config,
pugixml,
version ? "git",
doCheck ? false,
}:
stdenv.mkDerivation {
pname = "hyprwayland-scanner";
inherit version doCheck;
src = ../.;
nativeBuildInputs = [
cmake
pkg-config
pugixml
];
meta = with lib; {
homepage = "https://github.com/hyprwm/hyprwayland-scanner";
description = "A Hyprland version of wayland-scanner in and for C++";
license = licenses.bsd3;
platforms = platforms.linux;
};
}