blob: 2dee4b849c628a3287d56842dc77bb78df25beee (
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
32
33
34
35
36
|
{ stdenv, fetchFromGitHub
, pkgconfig, cmake, extra-cmake-modules
, wayland, wayland-protocols
, libxkbcommon
}:
let
metadata = import ./metadata.nix;
in
stdenv.mkDerivation rec {
name = "wtype-${version}";
version = metadata.rev;
src = fetchFromGitHub {
owner = "atx";
repo = "wtype";
rev = metadata.rev;
sha256 = metadata.sha256;
};
nativeBuildInputs = [ pkgconfig cmake extra-cmake-modules ];
buildInputs = [
wayland wayland-protocols
libxkbcommon
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "High-level Wayland compositor library based on wlroots";
homepage = "https://git.sr.ht/~bl4ckb0ne/wltrunk";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ colemickens ];
};
}
|