summary refs log tree commit diff
path: root/pkgs/games/gweled/default.nix
blob: d5d4f5c40153d0ab7768c3810c4a5b2782c8797b (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
{ stdenv, fetchbzr, intltool
, gtk2, wrapGAppsHook, autoreconfHook, pkgconfig
, libmikmod, librsvg, libcanberra-gtk2, hicolor-icon-theme }:

stdenv.mkDerivation rec {
  pname = "gweled";
  version = "unstable-2018-02-15";

  src = fetchbzr {
    url = "lp:gweled";
    rev = "94";
    sha256 = "01c38y4df5a06wqbsmsn8ysxx7hav9yvw6zdwbc9m5m55z7vmdb8";
  };

  doCheck = false;

  nativeBuildInputs = [ wrapGAppsHook intltool autoreconfHook pkgconfig ];

  buildInputs = [ gtk2 libmikmod librsvg hicolor-icon-theme libcanberra-gtk2 ];

  configureFlags = [ "--disable-setgid" ];

  meta = with stdenv.lib; {
    description = "Bejeweled clone game";
    homepage = "https://gweled.org";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.genesis ];
  };
}