diff --git a/pkgs/games/gweled/default.nix b/pkgs/games/gweled/default.nix new file mode 100644 index 000000000000..d5d4f5c40153 --- /dev/null +++ b/pkgs/games/gweled/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe75119d9b8c..552c5511819d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21201,6 +21201,8 @@ in gtypist = callPackage ../games/gtypist { }; + gweled = callPackage ../games/gweled {}; + gzdoom = callPackage ../games/gzdoom { }; hawkthorne = callPackage ../games/hawkthorne { love = love_0_9; };