~jack/misc

ref: fc18319887e274897264bb352ccd33f20c42db4b misc/bunkplan-ml/bunkplan.nix -rw-r--r-- 464 bytes
fc183198Jack Kelly nix 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, lib, 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 lib; {
    homepage = "https://git.sr.ht/~jack/misc";
    description = "Generate a bunkplan from a CSV";
    license = licenses.agpl3Plus;
    maintainers = [ maintainers.endgame ];
    platforms = platforms.all;
  };
}