Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
887 B
Nix
46 lines
887 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
gtest,
|
|
which,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "genmap";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cpockrandt";
|
|
repo = "genmap";
|
|
rev = "genmap-v${version}";
|
|
fetchSubmodules = true;
|
|
hash = "sha256-7sIKBRMNzyCrZ/c2nXkknb6a5YsXe6DRE2IFhp6AviY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
doCheck = true;
|
|
patches = [ ./gtest.patch ];
|
|
nativeCheckInputs = [
|
|
gtest
|
|
which
|
|
];
|
|
preCheck = "make genmap_algo_test";
|
|
|
|
# disable benchmarks
|
|
preConfigure = ''
|
|
echo > benchmarks/CMakeLists.txt
|
|
'';
|
|
|
|
meta = {
|
|
description = "Ultra-fast computation of genome mappability";
|
|
mainProgram = "genmap";
|
|
license = lib.licenses.bsd3;
|
|
homepage = "https://github.com/cpockrandt/genmap";
|
|
maintainers = with lib.maintainers; [ jbedo ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|