2009-11-06 20:25:45 +01:00
|
|
|
{stdenv, fetchurl, cmake}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-21 14:27:02 +01:00
|
|
|
name = "physfs-2.0.3";
|
2009-11-06 20:25:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-02-21 14:27:02 +01:00
|
|
|
url = "${meta.homepage}/downloads/${name}.tar.bz2";
|
|
|
|
sha256 = "0sbbyqzqhyf0g68fcvvv20n3928j0x6ik1njmhn1yigvq2bj11na";
|
2009-11-06 20:25:45 +01:00
|
|
|
};
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2009-11-06 20:25:45 +01:00
|
|
|
|
2012-03-08 14:34:42 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed s,-Werror,, -i CMakeLists.txt
|
|
|
|
'';
|
|
|
|
|
2009-11-06 20:25:45 +01:00
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://icculus.org/physfs/;
|
2009-11-06 20:25:45 +01:00
|
|
|
description = "Library to provide abstract access to various archives";
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.free;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-11-06 20:25:45 +01:00
|
|
|
};
|
|
|
|
}
|