lol
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "edlib";
10 version = "1.3.9.post1";
11
12 src = fetchFromGitHub {
13 owner = "Martinsos";
14 repo = "edlib";
15 tag = finalAttrs.version;
16 hash = "sha256-XejxohLVdBBzpYZ//OpqC1ActmCaZ8tunJyhOYtZmKQ=";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 doCheck = true;
22 checkPhase = ''
23 runHook preCheck
24 bin/runTests
25 runHook postCheck
26 '';
27
28 meta = {
29 homepage = "https://martinsos.github.io/edlib";
30 description = "Lightweight, fast C/C++ library for sequence alignment using edit distance";
31 maintainers = with lib.maintainers; [ bcdarwin ];
32 license = lib.licenses.mit;
33 platforms = lib.platforms.unix;
34 };
35})