summary refs log tree commit diff
path: root/pkgs/development/libraries/waylandpp/default.nix
blob: 4fd94a29f9cd7abe290b4c88e750e109ea47ae7a (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
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pugixml, wayland, libGL }:

stdenv.mkDerivation rec {
  pname = "waylandpp";
  version = "0.2.5";

  src = fetchFromGitHub {
    owner = "NilsBrause";
    repo = pname;
    rev = version;
    sha256 = "16h57hzd688664qcyznzhjp3hxipdkzgv46x82yhkww24av8b55n";
  };

  nativeBuildInputs = [ cmake pkgconfig ];
  buildInputs = [ pugixml wayland libGL ];

  meta = with stdenv.lib; {
    description = "Wayland C++ binding";
    homepage = https://github.com/NilsBrause/waylandpp/;
    license = with licenses; [ bsd2 hpnd ];
    maintainers = with maintainers; [ minijackson ];
  };
}