summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/clips
diff options
context:
space:
mode:
authorChristopher League <league@contrapunctus.net>2017-03-09 14:35:37 -0500
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-03-16 00:05:02 +0200
commitcfc7a1877a1ff969e6d1dd18af74b467c3c6b5df (patch)
treef405a3693fb820a4af1c7c80e12e32b8e610bd35 /pkgs/development/interpreters/clips
parent545e267adfc796bcceeb5c6702075fb2890cabe2 (diff)
clips: init at 6.30
CLIPS is a language for building expert systems.
Diffstat (limited to 'pkgs/development/interpreters/clips')
-rw-r--r--pkgs/development/interpreters/clips/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/clips/default.nix b/pkgs/development/interpreters/clips/default.nix
new file mode 100644
index 000000000000..cf923d409172
--- /dev/null
+++ b/pkgs/development/interpreters/clips/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ version = "6.30";
+ name = "clips-${version}";
+ src = fetchurl {
+ url = "mirror://sourceforge/clipsrules/CLIPS/6.30/clips_core_source_630.tar.Z";
+ sha256 = "1r0m59l3mk9cwzq3nmyr5qxrlkzp3njls4hfv8ml85dmqh7n3ysy";
+ };
+ buildPhase = ''
+ make -C core -f ../makefiles/makefile.gcc
+ '';
+ installPhase = ''
+ install -D -t $out/bin core/clips
+ '';
+ meta = with stdenv.lib; {
+ description = "A Tool for Building Expert Systems";
+ homepage = "http://www.clipsrules.net/";
+ longDescription = ''
+ Developed at NASA's Johnson Space Center from 1985 to 1996,
+ CLIPS is a rule-based programming language useful for creating
+ expert systems and other programs where a heuristic solution is
+ easier to implement and maintain than an algorithmic solution.
+ '';
+ license = licenses.publicDomain;
+ maintainers = [maintainers.league];
+ platforms = platforms.linux;
+ };
+}