yafc-ce: 2.6.0 -> 2.7.0 (#378873)
[NixPkgs.git] / pkgs / by-name / mo / mosdepth / package.nix
blobab3a5dfab336de11e9a7741d454dc4931759a630
2   lib,
3   buildNimPackage,
4   fetchFromGitHub,
5   pcre,
6   testers,
7 }:
9 buildNimPackage (finalAttrs: {
10   pname = "mosdepth";
11   version = "0.3.10";
13   requiredNimVersion = 1;
15   src = fetchFromGitHub {
16     owner = "brentp";
17     repo = "mosdepth";
18     rev = "v${finalAttrs.version}";
19     hash = "sha256-RAE3k2yA2zsIr5JFYb5bPaMzdoEKms7TKaqVhPS5LzY=";
20   };
22   lockFile = ./lock.json;
24   buildInputs = [ pcre ];
26   passthru.tests = {
27     version = testers.testVersion {
28       package = finalAttrs.finalPackage;
29     };
30   };
32   meta = with lib; {
33     description = "fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing";
34     mainProgram = "mosdepth";
35     license = licenses.mit;
36     homepage = "https://github.com/brentp/mosdepth";
37     maintainers = with maintainers; [ jbedo ];
38     platforms = platforms.linux;
39   };