33 lines
674 B
Nix
33 lines
674 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
stdenv.mkDerivation {
|
|
pname = "eabase";
|
|
version = "2.09.06";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "electronicarts";
|
|
repo = "EABase";
|
|
rev = "123363eb82e132c0181ac53e43226d8ee76dea12";
|
|
sha256 = "sha256-tQcGoOeyptMf/KQGC+o9P6XiTfJhi0xjwB2M/3JtnW4=";
|
|
fetchSubmodules = false;
|
|
};
|
|
|
|
patches = [ ./cmake_install_fix.patch ];
|
|
|
|
# buildPhase = ''
|
|
# runHook preBuild
|
|
# cp ${cmakeConfigFile} $build/
|
|
# runHook postBuild
|
|
# '';
|
|
|
|
# installPhase = ''
|
|
# runHook preInstall
|
|
# mkdir -p $out
|
|
# cmake --install . --prefix $out/
|
|
# runHook postInstall
|
|
# '';
|
|
}
|