2021-09-02 18:35:32 +02:00
|
|
|
{lib, nimPackages, fetchFromGitHub, pcre}:
|
2018-07-06 05:58:00 +02:00
|
|
|
|
2021-09-02 18:35:32 +02:00
|
|
|
nimPackages.buildNimPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mosdepth";
|
2022-02-12 15:31:47 +01:00
|
|
|
version = "0.3.3";
|
2021-09-02 18:35:32 +02:00
|
|
|
nimBinOnly = true;
|
2018-07-06 05:58:00 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brentp";
|
|
|
|
repo = "mosdepth";
|
|
|
|
rev = "v${version}";
|
2022-02-12 15:31:47 +01:00
|
|
|
sha256 = "sha256-de3h3SXnXlqjuLT1L66jj/1AoiTuFc3PVJYjm7s8Fj8=";
|
2018-07-06 05:58:00 +02:00
|
|
|
};
|
|
|
|
|
2021-09-02 18:35:32 +02:00
|
|
|
buildInputs = with nimPackages; [ docopt hts-nim pcre ];
|
2018-07-06 05:58:00 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing";
|
2018-07-06 05:58:00 +02:00
|
|
|
license = licenses.mit;
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/brentp/mosdepth";
|
2018-07-06 05:58:00 +02:00
|
|
|
maintainers = with maintainers; [ jbedo ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|