hyprwayland-scanner/nix/default.nix

31 lines
510 B
Nix
Raw Permalink 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
2024-06-11 17:21:15 +02:00
];
buildInputs = [
2024-04-20 12:40:18 +02:00
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;
};
}