physfs: 2.0.3 -> 3.0.1
This commit is contained in:
parent
f607771d0f
commit
7177c9e336
@ -1,23 +1,41 @@
|
|||||||
{stdenv, fetchurl, cmake}:
|
{ stdenv, fetchurl, cmake, doxygen
|
||||||
|
, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "physfs-2.0.3";
|
generic = version: sha256:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "physfs-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/downloads/${name}.tar.bz2";
|
url = "${meta.homepage}/downloads/${name}.tar.bz2";
|
||||||
sha256 = "0sbbyqzqhyf0g68fcvvv20n3928j0x6ik1njmhn1yigvq2bj11na";
|
inherit sha256;
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake doxygen ];
|
||||||
|
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed s,-Werror,, -i CMakeLists.txt
|
||||||
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
|
||||||
|
installCheckPhase = ''
|
||||||
|
./test_physfs --version
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://icculus.org/physfs/;
|
||||||
|
description = "Library to provide abstract access to various archives";
|
||||||
|
license = licenses.free;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
in {
|
||||||
|
physfs_2 = generic "2.0.3" "0sbbyqzqhyf0g68fcvvv20n3928j0x6ik1njmhn1yigvq2bj11na";
|
||||||
patchPhase = ''
|
physfs = generic "3.0.1" "1wgj2zqpnfbnyyi1i7bq5pshcc9n5cvwlpzp8im67nb8662ryyxp";
|
||||||
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;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@ -10443,7 +10443,9 @@ with pkgs;
|
|||||||
|
|
||||||
phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix {};
|
phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix {};
|
||||||
|
|
||||||
physfs = callPackage ../development/libraries/physfs { };
|
inherit (callPackage ../development/libraries/physfs { })
|
||||||
|
physfs_2
|
||||||
|
physfs;
|
||||||
|
|
||||||
pipelight = callPackage ../tools/misc/pipelight {
|
pipelight = callPackage ../tools/misc/pipelight {
|
||||||
stdenv = stdenv_32bit;
|
stdenv = stdenv_32bit;
|
||||||
|
Loading…
Reference in New Issue
Block a user