1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00
nixpkgs/pkgs/development/libraries/physfs/default.nix

23 lines
488 B
Nix
Raw Normal View History

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