nixpkgs/pkgs/development/libraries/physfs/default.nix
Eelco Dolstra ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00

22 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";
};
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 = "free";
};
}