repseek: init at 9Sep2014 (#148017)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Bruno Bzeznik 2022-01-31 14:59:32 +01:00 committed by GitHub
parent be41b14875
commit b6fa4975cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "repseek";
version = "9Sep2014";
src = fetchurl {
url = "https://bioinfo.mnhn.fr/abi/public/RepSeek/RepSeek.${version}.tgz";
sha256 = "1jiknji3ivrv7zmrfbf2mccfpdwhin3lfxfsciaqwf69b3sda8nf";
};
preConfigure = ''
mkdir -p $out/bin
substituteInPlace Makefile \
--replace "INSTALLDIR = \$\$HOME/bin" "INSTALLDIR = $out/bin/" \
--replace "CC= gcc" "CC = $CC"
'' + lib.optionalString stdenv.isLinux ''
substituteInPlace Makefile --replace "MACHINE = MACOSX" "MACHINE = LINUX"
'';
meta = {
description = "Tool to retrieve approximate repeats from large DNA sequences";
homepage = "https://bioinfo.mnhn.fr/abi/public/RepSeek";
maintainers = [ lib.maintainers.bzizou ];
license = lib.licenses.lgpl21;
};
}

View file

@ -9259,6 +9259,8 @@ with pkgs;
rep = callPackage ../development/tools/rep { };
repseek = callPackage ../applications/science/biology/repseek { };
reicast = callPackage ../misc/emulators/reicast { };
reredirect = callPackage ../tools/misc/reredirect { };