depot/third_party/nixpkgs/pkgs/development/interpreters/clips/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
948 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation {
version = "6.30";
pname = "clips";
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;
};
}