summary refs log blame commit diff
path: root/pkgs/games/gnome-hexgl/default.nix
blob: c78bc69c26fd99d8e48b4cc848bb4ade9511bb13 (plain) (tree)
1
2
3
4
5
6
7
8
             


                 
            

        
          


      
                         
                        
                                  



                          

                                                            




                       
              




                 
            


        
                    
                                         
                                                            




                                                
{ lib, stdenv
, fetchFromGitHub
, ninja
, meson
, pkg-config
, gthree
, gsound
, libepoxy
, gtk3
}:

stdenv.mkDerivation rec {
  pname = "gnome-hexgl";
  version = "unstable-2020-07-24";

  src = fetchFromGitHub {
    owner = "alexlarsson";
    repo = "gnome-hexgl";
    rev = "f47a351055a235730795341dcd6b2397cc4bfa0c";
    sha256 = "yZWGymaSUfnCP8VAEdDH64w0muSnRK/XPi1/IqTrE4k=";
  };

  nativeBuildInputs = [
    ninja
    meson
    pkg-config
  ];

  buildInputs = [
    gthree
    gsound
    libepoxy
    gtk3
  ];

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