1ae14203fc
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
24 lines
733 B
Nix
24 lines
733 B
Nix
{ lib, stdenv, fetchurl, cmake, gcc, gcc-unwrapped }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.2.1";
|
|
pname = "messer-slim";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/MesserLab/SLiM/archive/v${version}.tar.gz";
|
|
sha256 = "1j3ssjvxpsc21mmzj59kwimglz8pdazi5w6wplmx11x744k77wa1";
|
|
};
|
|
|
|
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";
|
|
homepage = "https://messerlab.org/slim/";
|
|
license = with lib.licenses; [ gpl3 ];
|
|
maintainers = with lib.maintainers; [ bzizou ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|