mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
swiProlog: 9.1.21 -> 9.2.5
This commit is contained in:
parent
b696c018f1
commit
f3851cb781
@ -34,7 +34,8 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "9.1.21";
|
||||
# minorVersion is even for stable, odd for unstable
|
||||
version = "9.2.5";
|
||||
packInstall = swiplPath: pack:
|
||||
''${swiplPath}/bin/swipl -g "pack_install(${pack}, [package_directory(\"${swiplPath}/lib/swipl/pack\"), silent(true), interactive(false)])." -t "halt."
|
||||
'';
|
||||
@ -43,11 +44,14 @@ stdenv.mkDerivation {
|
||||
pname = "swi-prolog";
|
||||
inherit version;
|
||||
|
||||
# SWI-Prolog has two repositories: swipl and swipl-devel.
|
||||
# - `swipl`, which tracks stable releases and backports
|
||||
# - `swipl-devel` which tracks continuous development
|
||||
src = fetchFromGitHub {
|
||||
owner = "SWI-Prolog";
|
||||
repo = "swipl-devel";
|
||||
repo = "swipl";
|
||||
rev = "V${version}";
|
||||
hash = "sha256-c4OSntnwIzo6lGhpyNVtNM4el5FGrn8kcz8WkDRfQhU=";
|
||||
hash = "sha256-WbpYu6b0WPfKoAOkBZduWK20vwOYuDUDpJuj19qzPtw=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user