nixpkgs/pkgs/by-name/ea/easel/package.nix
2025-01-03 13:44:55 +09:00

50 lines
939 B
Nix

{
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;
};
})