2021-09-23 15:35:13 +00:00
|
|
|
{lib, nimPackages, fetchFromGitHub, pcre}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-23 15:35:13 +00:00
|
|
|
nimPackages.buildNimPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "mosdepth";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "0.3.3";
|
2021-09-23 15:35:13 +00:00
|
|
|
nimBinOnly = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brentp";
|
|
|
|
repo = "mosdepth";
|
|
|
|
rev = "v${version}";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-de3h3SXnXlqjuLT1L66jj/1AoiTuFc3PVJYjm7s8Fj8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-09-23 15:35:13 +00:00
|
|
|
buildInputs = with nimPackages; [ docopt hts-nim pcre ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/brentp/mosdepth";
|
|
|
|
maintainers = with maintainers; [ jbedo ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|