2009-11-06 19:25:45 +00:00
|
|
|
{stdenv, fetchurl, cmake}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-03-08 13:34:42 +00:00
|
|
|
name = "physfs-2.0.2";
|
2009-11-06 19:25:45 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/downloads/${name}.tar.gz";
|
2012-03-08 13:34:42 +00:00
|
|
|
sha256 = "02dwy0vsn2dp31f15vxd3yxxr1rgy25ab7ncavyh73i290qnsadf";
|
2009-11-06 19:25:45 +00:00
|
|
|
};
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2009-11-06 19:25:45 +00:00
|
|
|
|
2012-03-08 13:34:42 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed s,-Werror,, -i CMakeLists.txt
|
|
|
|
'';
|
|
|
|
|
2009-11-06 19:25:45 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://icculus.org/physfs/;
|
|
|
|
description = "Library to provide abstract access to various archives";
|
|
|
|
license = "free";
|
|
|
|
};
|
|
|
|
}
|