3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/mosdepth/default.nix

25 lines
654 B
Nix
Raw Normal View History

2021-09-02 17:35:32 +01:00
{lib, nimPackages, fetchFromGitHub, pcre}:
2018-07-06 04:58:00 +01:00
2021-09-02 17:35:32 +01:00
nimPackages.buildNimPackage rec {
pname = "mosdepth";
2021-07-27 00:52:22 +01:00
version = "0.3.2";
2021-09-02 17:35:32 +01:00
nimBinOnly = true;
2018-07-06 04:58:00 +01:00
src = fetchFromGitHub {
owner = "brentp";
repo = "mosdepth";
rev = "v${version}";
2021-07-27 00:52:22 +01:00
sha256 = "sha256-uui4yC7ok+pvbXVKfBVsAarH40fnH4fnP8P4uzOqztQ=";
2018-07-06 04:58:00 +01:00
};
2021-09-02 17:35:32 +01:00
buildInputs = with nimPackages; [ docopt hts-nim pcre ];
2018-07-06 04:58:00 +01:00
meta = with lib; {
description = "fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing";
2018-07-06 04:58:00 +01:00
license = licenses.mit;
homepage = "https://github.com/brentp/mosdepth";
2018-07-06 04:58:00 +01:00
maintainers = with maintainers; [ jbedo ];
platforms = platforms.linux;
};
}