depot/third_party/nixpkgs/pkgs/applications/science/biology/messer-slim/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

24 lines
749 B
Nix

{ 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 stdenv.lib.licenses; [ gpl3 ];
maintainers = with stdenv.lib.maintainers; [ bzizou ];
platforms = stdenv.lib.platforms.all;
};
}