1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/games/the-butterfly-effect/default.nix
Robert Helgesson aca3851b88 tbe: r2048 -> 0.9.2.1
Also replace use of builderDefsPackage (#4210).
2015-12-29 20:31:01 +01:00

29 lines
744 B
Nix

{ stdenv, fetchurl, qt4, box2d, which, cmake }:
stdenv.mkDerivation rec {
name = "tbe-${version}";
version = "0.9.2.1";
src = fetchurl {
url = "https://github.com/kaa-ching/tbe/archive/v${version}.tar.gz";
sha256 = "1cs4q9qiakfd2m1lvfsvfgf8yvhxzmc06glng5d80piwyn6ymzxg";
};
buildInputs = [ qt4 box2d which cmake ];
installPhase = ''
make DESTDIR=.. install
mkdir -p $out/bin
cp ../usr/games/tbe $out/bin
cp -r ../usr/share $out/
'';
meta = with stdenv.lib; {
description = "A physics-based game vaguely similar to Incredible Machine";
homepage = http://the-butterfly-effect.org/;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
license = licenses.gpl2;
};
}