mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
24 lines
550 B
Nix
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;
|
|
};
|
|
}
|