blob: ec295b2d72859c86990233a7b1636180a4e12a76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, pugixml
, nix-update-script
,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hyprwayland-scanner";
version = "0.3.10";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprwayland-scanner";
rev = "v${finalAttrs.version}";
hash = "sha256-YxmfxHfWed1fosaa7fC1u7XoKp1anEZU+7Lh/ojRKoM=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
pugixml
];
doCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/hyprwm/hyprwayland-scanner";
description = "Hyprland version of wayland-scanner in and for C++";
changelog = "https://github.com/hyprwm/hyprwayland-scanner/releases/tag/${finalAttrs.version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fufexan ];
mainProgram = "hyprwayland-scanner";
platforms = lib.platforms.linux;
};
})
|