mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
d2747b12e9
svn path=/nixpkgs/trunk/; revision=32891
23 lines
485 B
Nix
23 lines
485 B
Nix
{stdenv, fetchurl, cmake}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "physfs-2.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/downloads/${name}.tar.gz";
|
|
sha256 = "02dwy0vsn2dp31f15vxd3yxxr1rgy25ab7ncavyh73i290qnsadf";
|
|
};
|
|
|
|
buildNativeInputs = [ cmake ];
|
|
|
|
patchPhase = ''
|
|
sed s,-Werror,, -i CMakeLists.txt
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://icculus.org/physfs/;
|
|
description = "Library to provide abstract access to various archives";
|
|
license = "free";
|
|
};
|
|
}
|