summary refs log tree commit diff
path: root/pkgs/games/gnome-hexgl/default.nix
blob: 340dd20aaafeae69768d6af5c0050f70347ca7e0 (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
{ stdenv
, fetchFromGitHub
, ninja
, meson
, pkgconfig
, gthree
, gsound
, epoxy
, gtk3
}:

stdenv.mkDerivation {
  pname = "gnome-hexgl";
  version = "unstable-2019-08-21";

  src = fetchFromGitHub {
    owner = "alexlarsson";
    repo = "gnome-hexgl";
    rev = "c6edde1250b830c7c8ee738905cb39abef67d4a6";
    sha256 = "17j236damqij8n4a37psvkfxbbc18yw03s3hs0qxgfhl4671wf6z";
  };

  nativeBuildInputs = [
    ninja
    meson
    pkgconfig
  ];

  buildInputs = [
    gthree
    gsound
    epoxy
    gtk3
  ];

  meta = with stdenv.lib; {
    description = "Gthree port of HexGL";
    homepage = https://github.com/alexlarsson/gnome-hexgl;
    license = licenses.mit;
    maintainers = with maintainers; [ jtojnar ];
    platforms = platforms.unix;
  };
}