diff options
author | Mihai Fufezan <mihai@fufexan.net> | 2024-05-04 20:16:23 +0300 |
---|---|---|
committer | Mihai Fufezan <mihai@fufexan.net> | 2024-05-17 00:24:13 +0300 |
commit | bb146ade88ddccbaf64ef83c4dbace7596756940 (patch) | |
tree | 5f026a5b5dcf3857c525579c79b8c96ef626aeb7 /pkgs/by-name/hy | |
parent | 7a338b0febc1994ed42ee1aed8c752674abf0632 (diff) |
hyprwayland-scanner: init at 0.3.7
Diffstat (limited to 'pkgs/by-name/hy')
-rw-r--r-- | pkgs/by-name/hy/hyprwayland-scanner/package.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/by-name/hy/hyprwayland-scanner/package.nix b/pkgs/by-name/hy/hyprwayland-scanner/package.nix new file mode 100644 index 0000000000000..fc9fb5a820a00 --- /dev/null +++ b/pkgs/by-name/hy/hyprwayland-scanner/package.nix @@ -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; + }; +}) |