nixpkgs/pkgs/applications/science/biology/mosdepth/default.nix

25 lines
654 B
Nix
Raw Normal View History

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 {
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
meta = with lib; {
description = "fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing";
2018-07-06 05:58:00 +02:00
license = licenses.mit;
homepage = "https://github.com/brentp/mosdepth";
2018-07-06 05:58:00 +02:00
maintainers = with maintainers; [ jbedo ];
platforms = platforms.linux;
};
}