about summary refs log tree commit diff
path: root/packages/seqstat/default.nix
blob: 96cbd405f2d21537406736d1982cc1d99381bc84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, python3, stdenvNoCC }:

stdenvNoCC.mkDerivation rec {
  pname = "seqstat";
  src = ./seqstat.py;
  version = "0.1.0";

  buildInputs = [ python3 ];
  propagatedBuildInputs = [ python3 ];

  dontUnpack = true;
  dontBuild = true;

  installPhase = ''
    mkdir -p $out/bin
    cp $src $out/bin/${pname}
  '';

  meta = with lib; {
    description = "Display an histogram for a given sequence of numbers.";
    license = with licenses; [ mit ];
    platforms = platforms.unix;
    maintainers = with maintainers; [ fcuny ];
  };
}