Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
838 B
Nix
40 lines
838 B
Nix
{
|
|
lib,
|
|
buildNimPackage,
|
|
fetchFromGitHub,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
buildNimPackage (finalAttrs: {
|
|
pname = "mosdepth";
|
|
version = "0.3.11";
|
|
|
|
requiredNimVersion = 1;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "brentp";
|
|
repo = "mosdepth";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-EzzDuzPAyNkL2tFWre86U+kx3SvLPbWto2/vfLdwHGI=";
|
|
};
|
|
|
|
lockFile = ./lock.json;
|
|
|
|
nativeBuildInputs = [ versionCheckHook ];
|
|
|
|
nimFlags = [ ''--passC:"-Wno-incompatible-pointer-types"'' ];
|
|
|
|
doInstallCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing";
|
|
mainProgram = "mosdepth";
|
|
license = licenses.mit;
|
|
homepage = "https://github.com/brentp/mosdepth";
|
|
maintainers = with maintainers; [
|
|
jbedo
|
|
];
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|