2024-01-02 11:29:13 +00:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub, pcre, testers }:
|
|
|
|
|
|
|
|
buildNimPackage (finalAttrs: {
|
|
|
|
pname = "mosdepth";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.3.8";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
requiredNimVersion = 1;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brentp";
|
|
|
|
repo = "mosdepth";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-IkCLlIugnOO2LpS79gakURvPR1ZuayFtrOOoPyNKLMQ=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
lockFile = ./lock.json;
|
|
|
|
|
|
|
|
buildInputs = [ pcre ];
|
|
|
|
|
|
|
|
passthru.tests = {
|
|
|
|
version = testers.testVersion {
|
|
|
|
package = finalAttrs.finalPackage;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "mosdepth";
|
2024-01-02 11:29:13 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/brentp/mosdepth";
|
|
|
|
maintainers = with maintainers; [ jbedo ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
})
|