forked from jbedo/malaria-variant-calling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
genmap.nix
31 lines (26 loc) · 806 Bytes
/
genmap.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "genmap";
version = "1.3.0";
src = fetchFromGitHub {
owner = "cpockrandt";
repo = "genmap";
rev = "genmap-v${version}";
fetchSubmodules = true;
sha256 = "sha256-7sIKBRMNzyCrZ/c2nXkknb6a5YsXe6DRE2IFhp6AviY=";
};
nativeBuildInputs = [ cmake ];
# disable tests & benchmarks as these attempt to fetch googletest
# and googlebenchmark via git
preConfigure = ''
echo > tests/CMakeLists.txt
echo > benchmarks/CMakeLists.txt
'';
meta = {
description = "Ultra-fast computation of genome mappability";
license = lib.licenses.bsd3;
homepage = "https://github.com/cpockrandt/genmap";
maintainers = with lib.maintainers; [ jbedo ];
platforms = lib.platforms.unix;
};
}