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

25 lines
654 B
Nix
Raw Normal View History

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