depot/third_party/nixpkgs/pkgs/by-name/mo/mosdepth/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

34 lines
817 B
Nix

{ lib, buildNimPackage, fetchFromGitHub, pcre, testers }:
buildNimPackage (finalAttrs: {
pname = "mosdepth";
version = "0.3.9";
requiredNimVersion = 1;
src = fetchFromGitHub {
owner = "brentp";
repo = "mosdepth";
rev = "v${finalAttrs.version}";
hash = "sha256-vHJgIo9qO/L1lZ9DqgXVwv9Pn/6ZMOBfPsY4DEAEImI=";
};
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";
mainProgram = "mosdepth";
license = licenses.mit;
homepage = "https://github.com/brentp/mosdepth";
maintainers = with maintainers; [ jbedo ];
platforms = platforms.linux;
};
})