2019-02-28 15:00:37 +01:00
|
|
|
{ stdenv, fetchurl, cmake, gcc, gcc-unwrapped }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "3.2.1";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "messer-slim";
|
2019-02-28 15:00:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/MesserLab/SLiM/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1j3ssjvxpsc21mmzj59kwimglz8pdazi5w6wplmx11x744k77wa1";
|
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake gcc gcc-unwrapped ];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar"
|
|
|
|
"-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An evolutionary simulation framework";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://messerlab.org/slim/";
|
2019-02-28 15:00:37 +01:00
|
|
|
license = with stdenv.lib.licenses; [ gpl3 ];
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ bzizou ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|