Unverified Commit 0890b813 authored by natsukium's avatar natsukium
Browse files

easel: init at 0.49

parent 9e00c8a8
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  autoreconfHook,
  perl,
  python3,
  versionCheckHook,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "easel";
  version = "0.49";

  src = fetchFromGitHub {
    owner = "EddyRivasLab";
    repo = "easel";
    tag = "easel-${finalAttrs.version}";
    hash = "sha256-NSKy7ptNYR0K/VFJNv+5TGWdC1ZM4Y5i/3L+3Coj/sg=";
  };

  nativeBuildInputs = [ autoreconfHook ];

  enableParallelBuilding = true;

  doCheck = true;

  nativeCheckInputs = [
    perl
    python3
  ];

  preCheck = ''
    patchShebangs devkit/sqc
  '';

  doInstallCheck = true;

  nativeInstallCheckInputs = [ versionCheckHook ];

  meta = {
    description = "Sequence analysis library used by Eddy/Rivas lab code";
    homepage = "https://github.com/EddyRivasLab/easel";
    license = lib.licenses.bsd2;
    mainProgram = "easel";
    maintainers = with lib.maintainers; [ natsukium ];
    platforms = lib.platforms.unix;
  };
})