Files

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

36 lines
732 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "edlib";
version = "1.3.9.post1";
src = fetchFromGitHub {
owner = "Martinsos";
repo = "edlib";
tag = finalAttrs.version;
hash = "sha256-XejxohLVdBBzpYZ//OpqC1ActmCaZ8tunJyhOYtZmKQ=";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
checkPhase = ''
runHook preCheck
bin/runTests
runHook postCheck
'';
meta = {
homepage = "https://martinsos.github.io/edlib";
description = "Lightweight, fast C/C++ library for sequence alignment using edit distance";
maintainers = with lib.maintainers; [ bcdarwin ];
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
})