hyprwayland-scanner: init at 0.3.7

This commit is contained in:
Mihai Fufezan 2024-05-04 20:16:23 +03:00
parent 7a338b0feb
commit bb146ade88
No known key found for this signature in database

View File

@ -0,0 +1,39 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, pugixml
,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hyprwayland-scanner";
version = "0.3.7";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprwayland-scanner";
rev = "v${finalAttrs.version}";
hash = "sha256-BPc9FdIzQAmP1JnYGfr+3O30Yp1BywUvKUz57ZOZ39A=";
};
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;
};
})