patka d1e61a9c58 mosdepth: remove unused pcre dependency
Since version 0.2.5 mosdepth no longer uses pcre as a dependency
2025-04-21 21:12:57 +05:30

41 lines
850 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
ehmry
];
platforms = platforms.linux;
};
})