git.iko.soy/typeable/nixpkgs
on master help sign in
ciao: init at 1.19.0
commitd6db081bdc2d3aeee6dbd928c9d7641f5804927c authorСухарик <65870+suhr@users.noreply.github.com> dateSat 25 Apr 2020, 09:38 (7 years ago) parent93a9ac6
2 files changed+34
pkgs/development/compilers/ciao/default.nix+32 pkgs/top-level/all-packages.nix+2
pkgs/development/compilers/ciao/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "ciao";
5+ version = "1.19.0";
6+ src = fetchFromGitHub {
7+ owner = "ciao-lang";
8+ repo = "ciao";
9+ rev = "v${version}";
10+ sha256 = "03qzcb4ivgkiwdpw7a94dn74xqyxjwz5ilrr53rcblsh5ng299jp";
11+ };
12+
13+ configurePhase = ''
14+ ./ciao-boot.sh configure --instype=global --prefix=$prefix
15+ '';
16+
17+ buildPhase = ''
18+ ./ciao-boot.sh build
19+ '';
20+
21+ installPhase = ''
22+ ./ciao-boot.sh install
23+ '';
24+
25+ meta = with stdenv.lib; {
26+ homepage = "https://ciao-lang.org/";
27+ description = "A general purpose, multi-paradigm programming language in the Prolog family";
28+ license = licenses.lgpl21;
29+ maintainers = with maintainers; [ suhr ];
30+ platforms = platforms.unix;
31+ };
32+}
pkgs/top-level/all-packages.nix+2
@@ -8011,6 +8011,8 @@ in
80118011
80128012 bluespec = callPackage ../development/compilers/bluespec { };
80138013
8014+ ciao = callPackage ../development/compilers/ciao { };
8015+
80148016 colm = callPackage ../development/compilers/colm { };
80158017
80168018 colmap = libsForQt5.callPackage ../applications/science/misc/colmap { };