nixpkgs/pkgs/development/libraries/physfs/default.nix
Lluís Batlle i Rossell d2747b12e9 Updating and fixing physfs, so more videogames can build.
svn path=/nixpkgs/trunk/; revision=32891
2012-03-08 13:34:42 +00:00

23 lines
485 B
Nix

{stdenv, fetchurl, cmake}:
stdenv.mkDerivation rec {
name = "physfs-2.0.2";
src = fetchurl {
url = "${meta.homepage}/downloads/${name}.tar.gz";
sha256 = "02dwy0vsn2dp31f15vxd3yxxr1rgy25ab7ncavyh73i290qnsadf";
};
buildNativeInputs = [ cmake ];
patchPhase = ''
sed s,-Werror,, -i CMakeLists.txt
'';
meta = {
homepage = http://icculus.org/physfs/;
description = "Library to provide abstract access to various archives";
license = "free";
};
}