aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/compilers/gerbil/smug-gerbil.nix
blob: 732cdb500b9b9707e4c720c201f055755d1e7bb3 (plain)
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
26
27
28
29
30
{ pkgs, lib, fetchFromGitHub, gerbil-unstable, gerbil-support, gambit-support }:

gerbil-support.gerbilPackage {
  pname = "smug-gerbil";
  version = "unstable-2019-12-24";
  git-version = "95d60d4";
  gerbil-package = "drewc/smug";
  gerbil = gerbil-unstable;
  gerbilInputs = [];
  buildInputs = [];
  gambit-params = gambit-support.unstable-params;
  version-path = ""; #"version";
  softwareName = "Smug-Gerbil";
  src = fetchFromGitHub {
    owner = "drewc";
    repo = "smug-gerbil";
    rev = "95d60d486c1603743c6d3c525e6d5f5761b984e5";
    sha256 = "0ys07z78gq60z833si2j7xa1scqvbljlx1zb32vdf32f1b27c04j";
  };
  meta = {
    description = "Super Monadic Über Go-into : Parsers and Gerbil Scheme";
    homepage    = "https://github.com/drewc/smug-gerbil";
    license     = lib.licenses.mit;
    platforms   = lib.platforms.unix;
    maintainers = with lib.maintainers; [ fare ];
  };
  buildScript = ''
    for i in primitive simple tokens smug ; do gxc -O $i.ss ; done
  '';
}