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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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";
2022-02-12 14:31:47 +00:00
version = "0.3.3";
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}";
2022-02-12 14:31:47 +00:00
sha256 = "sha256-de3h3SXnXlqjuLT1L66jj/1AoiTuFc3PVJYjm7s8Fj8=";
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;
};
}