fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
39 lines
778 B
Nix
39 lines
778 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, pugixml
|
|
,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hyprwayland-scanner";
|
|
version = "0.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hyprwm";
|
|
repo = "hyprwayland-scanner";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-D0pg+ZRwrt4lavZ97Ca8clsgbPA3duLj8iEM7riaIFY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
pugixml
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/hyprwm/hyprwayland-scanner";
|
|
description = "A Hyprland version of wayland-scanner in and for C++";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ fufexan ];
|
|
mainProgram = "hyprwayland-scanner";
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|