mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
34 lines
817 B
Nix
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;
|
|
};
|
|
})
|