Browse Source

numptyphysics: still broken init at 0.3.6

master
Trolli Schmittlauch 4 months ago
parent
commit
59c204446f
  1. 1
      default.nix
  2. 38
      pkgs/numptyphysics/default.nix

1
default.nix

@ -17,4 +17,5 @@ rec {
lolcommits = pkgs.callPackage ./pkgs/lolcommits { mplayer = mplayerV4l; };
mplayerV4l = pkgs.mplayer.override { v4lSupport = true; };
vollkorn = pkgs.callPackage ./pkgs/vollkorn { };
numptyphysics = pkgs.callPackage ./pkgs/numptyphysics { };
}

38
pkgs/numptyphysics/default.nix

@ -0,0 +1,38 @@
{ stdenv
, fetchFromGitHub
, lib
, SDL2
, SDL2_image
, SDL2_ttf
, libGL
, libGLU
, glib
, pkgconfig
}:
stdenv.mkDerivation rec {
name = "numptyphysics";
version = "0.3.6";
src = fetchFromGitHub {
owner = "thp";
repo = "numptyphysics";
rev = version;
sha256 = "03cqzp8wj00kwc5ykhk27vv9jpgcn8b99lkfzj557lmvvyx1rrsd";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ SDL2 SDL2_image SDL2_ttf glib libGL libGLU ];
enableParallelBuilding = true;
installFlags = [ "DESTDIR=$(out)" "PREFIX=''" ];
meta = {
broken = true;
maintainers = [ lib.maintainers.schmittlauch ];
license = lib.licenses.gpl3Plus;
description = "a drawing puzzle game based on construction and physics puzzles";
longDescription = ''
Harness gravity with your crayon and set about creating blocks, ramps, levers, pulleys and whatever else you fancy to get the little red thing to the little yellow thing.
Numpty Physics is a drawing puzzle game in the spirit (and style?) of Crayon Physics using the same excellent Box2D engine. Note though that I've not actually played CP so the experience may be very different. Numpty Physics includes a built-in editor so that you may build (and submit) your own levels.
'';
};
}
Loading…
Cancel
Save