Skip to content

Instantly share code, notes, and snippets.

/sdl-gpu.nix Secret

Created October 12, 2017 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f3bf642d8ab2364e6db55dc07fc3e2b9 to your computer and use it in GitHub Desktop.
Save anonymous/f3bf642d8ab2364e6db55dc07fc3e2b9 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "sdl-gpu-${version}";
version = "";
src = fetchgit {
url = https://github.com/grimfang4/sdl-gpu.git;
};
buildInputs = [ cmake SDL2 ];
buildPhase = ''
cmake -G "Unix Makefiles"
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment