summary refs log tree commit diff
path: root/pkgs/development/interpreters/ceptre/default.nix
blob: 4869859960ae70fbd0087aeba7ef5dafa21db548 (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
{ stdenv, fetchgit, mlton }:

stdenv.mkDerivation rec {
  name = "ceptre-2016-01-01";

  src = fetchgit {
    url = https://github.com/chrisamaphone/interactive-lp;
    rev = "b3d21489d4994f03d2982de273eea90bc7fba5d0";
    sha256 = "01f72q435kmf3mkgnn47hlnv6k3i5kjb26pbjrwvysc6am33jlcb";
  };

  nativeBuildInputs = [ mlton ];

  installPhase = ''
    mkdir -p $out/bin
    cp ceptre $out/bin
  '';

  meta = with stdenv.lib; {
    description = "A linear logic programming language for modeling generative interactive systems";
    homepage = https://github.com/chrisamaphone/interactive-lp;
    maintainers = with maintainers; [ pSub ];
  };
}