~jack/misc

ref: 0d0fdcc12269abfdc94084f4bc5a4bfb46fd894e misc/bunkplan-ml/bunkplan.nix -rw-r--r-- 464 bytes
0d0fdcc1Jack Kelly lambda-c: dinky little evaluator 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, ocaml, csv, findlib, ocaml_extlib }:

stdenv.mkDerivation {
  name = "bunkplan";
  src = ./.;

  buildInputs = [ ocaml csv findlib ocaml_extlib ];

  installPhase = "install -D -m 755 bunkplan $out/bin/bunkplan";

  meta = with stdenv.lib; {
    homepage = https://git.sr.ht/~jack/misc;
    description = "Generate a bunkplan from a CSV";
    license = licenses.agpl3Plus;
    maintainers = [ maintainers.endgame ];
    platforms = platforms.all;
  };
}