3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/physfs/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

24 lines
550 B
Nix

{stdenv, fetchurl, cmake}:
stdenv.mkDerivation rec {
name = "physfs-2.0.3";
src = fetchurl {
url = "${meta.homepage}/downloads/${name}.tar.bz2";
sha256 = "0sbbyqzqhyf0g68fcvvv20n3928j0x6ik1njmhn1yigvq2bj11na";
};
nativeBuildInputs = [ cmake ];
patchPhase = ''
sed s,-Werror,, -i CMakeLists.txt
'';
meta = {
homepage = "http://icculus.org/physfs/";
description = "Library to provide abstract access to various archives";
license = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.linux;
};
}