nixpkgs/pkgs/applications/science/biology/messer-slim/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
739 B
Nix
Raw Normal View History

2021-12-13 14:34:57 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, gcc, gcc-unwrapped }:
2019-02-28 14:00:37 +00:00
stdenv.mkDerivation rec {
2023-12-16 20:13:33 +00:00
version = "4.1";
pname = "messer-slim";
2019-02-28 14:00:37 +00:00
2021-12-13 14:34:57 +00:00
src = fetchFromGitHub {
owner = "MesserLab";
repo = "SLiM";
rev = "v${version}";
2023-12-16 20:13:33 +00:00
sha256 = "sha256-mb6xcu28QYAFm2906lRNY0zciQBKSGcz3q/cvOEh/VE=";
2019-02-28 14:00:37 +00:00
};
nativeBuildInputs = [ cmake gcc gcc-unwrapped ];
cmakeFlags = [ "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar"
2019-02-28 14:00:37 +00:00
"-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib" ];
meta = {
description = "An evolutionary simulation framework";
homepage = "https://messerlab.org/slim/";
2021-01-15 13:21:58 +00:00
license = with lib.licenses; [ gpl3 ];
maintainers = with lib.maintainers; [ bzizou ];
platforms = lib.platforms.all;
2019-02-28 14:00:37 +00:00
};
}