Merge staging-next into staging
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ciao";
|
||||
version = "1.19.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ciao-lang";
|
||||
repo = "ciao";
|
||||
rev = "v${version}";
|
||||
sha256 = "03qzcb4ivgkiwdpw7a94dn74xqyxjwz5ilrr53rcblsh5ng299jp";
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
./ciao-boot.sh configure --instype=global --prefix=$prefix
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
./ciao-boot.sh build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
./ciao-boot.sh install
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://ciao-lang.org/";
|
||||
description = "A general purpose, multi-paradigm programming language in the Prolog family";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ suhr ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{ stdenv, fetchurl, makeWrapper
|
||||
, fpc, gtk2, glib, pango, atk, gdk-pixbuf
|
||||
, libXi, xorgproto, libX11, libXext
|
||||
, gdb, gnumake, binutils
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lazarus";
|
||||
@@ -34,8 +35,12 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/startlazarus --prefix NIX_LDFLAGS ' ' "'$NIX_LDFLAGS'" \
|
||||
--prefix LCL_PLATFORM ' ' "'$LCL_PLATFORM'"
|
||||
wrapProgram $out/bin/startlazarus --prefix NIX_LDFLAGS ' ' \
|
||||
"$(echo "$NIX_LDFLAGS" | sed -re 's/-rpath [^ ]+//g')" \
|
||||
--prefix NIX_${binutils.infixSalt}_LDFLAGS ' ' \
|
||||
"$(echo "$NIX_LDFLAGS" | sed -re 's/-rpath [^ ]+//g')" \
|
||||
--prefix LCL_PLATFORM ' ' "$LCL_PLATFORM" \
|
||||
--prefix PATH ':' "${fpc}/bin:${gdb}/bin:${gnumake}/bin:${binutils}/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper
|
||||
, clang, chez
|
||||
}:
|
||||
|
||||
# Uses scheme to bootstrap the build of idris2
|
||||
stdenv.mkDerivation {
|
||||
name = "idris2";
|
||||
version = "0.2.0-840e020";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "idris-lang";
|
||||
repo = "Idris2";
|
||||
rev = "840e020d8ccc332135e86f855ad78053ca15d603";
|
||||
sha256 = "1l6pdjiglwd13pf56xwzbjzyyxgz48ypfggjgsgqk2w57rmbfy90";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ makeWrapper clang chez ];
|
||||
buildInputs = [ chez ];
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs --build tests
|
||||
|
||||
# Do not run tests as part of the build process
|
||||
substituteInPlace bootstrap.sh --replace "make test" "# make test"
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
# The name of the main executable of pkgs.chez is `scheme`
|
||||
buildFlags = [ "bootstrap" "SCHEME=scheme" ];
|
||||
|
||||
# idris2 needs to find scheme at runtime to compile
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/idris2" --prefix PATH : "${chez}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A purely functional programming language with first class types";
|
||||
homepage = https://github.com/idris-lang/Idris2;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = with stdenv.lib.maintainers; [ wchresta ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jsonnet";
|
||||
version = "0.15.0";
|
||||
version = "0.16.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "google";
|
||||
repo = "jsonnet";
|
||||
sha256 = "06imnpbc5mn1dis051f54q6nq80dbm51nhxmba61rdyhf1131ml8";
|
||||
sha256 = "0wxhc0ghjk88zrrn9a18h979ipkia2rx12489515gzhlplfx6724";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
Reference in New Issue
Block a user