1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/development/interpreters/clips/default.nix
Christopher League cfc7a1877a clips: init at 6.30
CLIPS is a language for building expert systems.
2017-03-16 00:05:02 +02:00

30 lines
962 B
Nix

{ 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;
};
}