aboutsummaryrefslogtreecommitdiffstats
path: root/agame.nix
blob: 993d768fb5dfa1aacb3b1c97eff1d58dd17a2e65 (plain)
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
{ alsa-lib
, lib
, libxkbcommon
, pkg-config
, rustPlatform
, udev
, vulkan-loader
, wayland
, xorg
}:
rustPlatform.buildRustPackage rec {
  name = "agame";
  src = ./.;
  cargoLock.lockFile = ./Cargo.lock;
  buildNoDefaultFeatures = true;
  nativeBuildInputs = [
    pkg-config
  ];
  buildInputs = [
    alsa-lib
    libxkbcommon
    udev
    vulkan-loader
    wayland
    xorg.libX11
    xorg.libXcursor
    xorg.libXi
    xorg.libXrandr
  ];
  doCheck = false;
}