depot/third_party/nixpkgs/pkgs/applications/science/biology/mosdepth/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

25 lines
697 B
Nix

{ lib, nimPackages, fetchFromGitHub, docopt, hts, pcre }:
nimPackages.buildNimPackage rec {
pname = "mosdepth";
version = "0.3.4";
nimBinOnly = true;
src = fetchFromGitHub {
owner = "brentp";
repo = "mosdepth";
rev = "v${version}";
sha256 = "sha256-7uteYTCbAaXedPqk0WtHpqTfUWH/+rRW8aSlFixkEko=";
};
buildInputs = [ docopt hts pcre ];
nimFlags = hts.nimFlags ++ [ "--threads:off" ];
meta = with lib; {
description = "fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing";
license = licenses.mit;
homepage = "https://github.com/brentp/mosdepth";
maintainers = with maintainers; [ jbedo ];
platforms = platforms.linux;
};
}