diff options
author | Will Dietz <w@wdtz.org> | 2020-01-16 12:51:57 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2020-01-17 09:29:09 -0600 |
commit | 5da89034f9f6b0ea29696a3336e095e2e8e04b57 (patch) | |
tree | d567008cfefa1cf527516b7f32b7c56d550fa0b7 /pkgs/games/teeworlds | |
parent | 7b26075b1377d18d257621f485e70af48350a512 (diff) | |
download | nixpkgs-5da89034f9f6b0ea29696a3336e095e2e8e04b57.tar nixpkgs-5da89034f9f6b0ea29696a3336e095e2e8e04b57.tar.gz nixpkgs-5da89034f9f6b0ea29696a3336e095e2e8e04b57.tar.bz2 nixpkgs-5da89034f9f6b0ea29696a3336e095e2e8e04b57.tar.lz nixpkgs-5da89034f9f6b0ea29696a3336e095e2e8e04b57.tar.xz nixpkgs-5da89034f9f6b0ea29696a3336e095e2e8e04b57.tar.zst nixpkgs-5da89034f9f6b0ea29696a3336e095e2e8e04b57.zip |
teeworlds: cmake instead of bam, oh joy! cleanup
Diffstat (limited to 'pkgs/games/teeworlds')
-rw-r--r-- | pkgs/games/teeworlds/default.nix | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/pkgs/games/teeworlds/default.nix b/pkgs/games/teeworlds/default.nix index ceb90809904..9e85714940c 100644 --- a/pkgs/games/teeworlds/default.nix +++ b/pkgs/games/teeworlds/default.nix @@ -1,4 +1,4 @@ -{ fetchFromGitHub, stdenv, bam, pkgconfig, python, alsaLib +{ fetchFromGitHub, stdenv, cmake, pkgconfig, python, alsaLib , libX11, libGLU, SDL2, lua5_3, zlib, freetype, wavpack }: @@ -21,35 +21,12 @@ stdenv.mkDerivation rec { '#define DATA_DIR "${placeholder "out"}/share/teeworlds/data"' ''; - nativeBuildInputs = [ bam pkgconfig ]; - - configurePhase = '' - runHook preConfigure - bam config - runHook postConfigure - ''; - - buildPhase = '' - runHook preBuild - bam conf=release - runHook postBuild - ''; - - installPhase = '' - mkdir -p $out/bin $out/share/teeworlds - cp build/x86_64/release/teeworlds{,_srv} $out/bin - cp -r build/x86_64/release/data $out/share/teeworlds - ''; + nativeBuildInputs = [ cmake pkgconfig ]; buildInputs = [ python alsaLib libX11 libGLU SDL2 lua5_3 zlib freetype wavpack ]; - postInstall = '' - mkdir -p $out/share/doc/teeworlds - cp -v *.txt $out/share/doc/teeworlds/ - ''; - meta = { description = "Retro multiplayer shooter game"; |