aboutsummaryrefslogtreecommitdiff
path: root/tools/mosdepth-plot.nix
blob: 464e495a67f3f4a21d19fbefc7927969a1494720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ stdenv
, mosdepth
, python
, flags ? null}:

input:

stdenv.mkDerivation {
  name = "mosdepth-depth";
  buildInputs = [ python ];
  buildCommand = ''
    python ${mosdepth.src}/scripts/plot-dist.py ${input}/*global.dist.txt
    mv dist.html $out
  '';
}