1 { lib, stdenv, fetchFromGitHub, smlnj }:
3 stdenv.mkDerivation rec {
5 pversion = "2013-07-25";
6 name = "${pname}-${pversion}";
8 src = fetchFromGitHub {
11 rev = "d61d95900ab316468ae850fa34a2fe9488bc5b59";
12 sha256 = "0slrwcxglp0sdbp6wr65cdkl5wcap2i0fqxbwqfi1q3cpb6ph6hq";
15 buildInputs = [ smlnj ];
17 # (can also build with MLton)
19 export SMLNJ_HOME=${smlnj}
26 ./.mkexec ${smlnj}/bin/sml $out/bin celf
30 description = "Linear logic programming system";
32 homepage = "https://github.com/clf/celf";
33 license = licenses.gpl3;
34 maintainers = with maintainers; [ bcdarwin ];
35 platforms = platforms.unix;