Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
4f1bbdc882
commit
218353d3f0
1 changed files with 10 additions and 8 deletions
|
@ -1,17 +1,19 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
version = "6.30";
|
version = "6.31";
|
||||||
pname = "clips";
|
pname = "clips";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/clipsrules/CLIPS/6.30/clips_core_source_630.tar.Z";
|
url = "mirror://sourceforge/clipsrules/CLIPS/${version}/clips_core_source_${
|
||||||
sha256 = "1r0m59l3mk9cwzq3nmyr5qxrlkzp3njls4hfv8ml85dmqh7n3ysy";
|
builtins.replaceStrings [ "." ] [ "" ] version
|
||||||
|
}.tar.gz";
|
||||||
|
sha256 = "165k0z7dsv04q432sanmw0jxmxwf56cnhsdfw5ffjqxd3lzkjnv6";
|
||||||
};
|
};
|
||||||
buildPhase = ''
|
makeFlags = [ "-C" "core" ];
|
||||||
make -C core -f ../makefiles/makefile.gcc
|
|
||||||
'';
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
install -D -t $out/bin core/clips
|
install -D -t $out/bin core/clips
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Tool for Building Expert Systems";
|
description = "A Tool for Building Expert Systems";
|
||||||
|
@ -23,7 +25,7 @@ stdenv.mkDerivation {
|
||||||
easier to implement and maintain than an algorithmic solution.
|
easier to implement and maintain than an algorithmic solution.
|
||||||
'';
|
'';
|
||||||
license = licenses.publicDomain;
|
license = licenses.publicDomain;
|
||||||
maintainers = [maintainers.league];
|
maintainers = [ maintainers.league ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue