mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
opendylan: remove
This commit is contained in:
parent
0eeef5bc79
commit
a3f54798bd
@ -1,43 +0,0 @@
|
||||
# Binaries provided by Open Dylan to be used to bootstrap from source.
|
||||
# The binaries can also be used as is.
|
||||
{lib, stdenv, fetchurl, patchelf, boehmgc, gcc, makeWrapper}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opendylan";
|
||||
version = "2013.2";
|
||||
|
||||
src = if stdenv.hostPlatform.system == "x86_64-linux" then fetchurl {
|
||||
url = "https://opendylan.org/downloads/opendylan/${version}/opendylan-${version}-x86_64-linux.tar.bz2";
|
||||
sha256 = "035brbw3hm7zrs593q4zc42yglj1gmmkw3b1r7zzlw3ks4i2lg7h";
|
||||
}
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then fetchurl {
|
||||
url = "https://opendylan.org/downloads/opendylan/${version}/opendylan-${version}-x86-linux.tar.bz2";
|
||||
sha256 = "0c61ihvblcsjrw6ncr8x8ylhskcrqs8pajs4mg5di36cvqw12nq5";
|
||||
}
|
||||
else throw "platform ${stdenv.hostPlatform.system} not supported.";
|
||||
|
||||
nativeBuildInputs = [ patchelf boehmgc makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p "$out"
|
||||
tar --strip-components=1 -xjf "$src" -C "$out"
|
||||
|
||||
interpreter="$(cat "$NIX_CC"/nix-support/dynamic-linker)"
|
||||
for a in "$out"/bin/*; do
|
||||
patchelf --set-interpreter "$interpreter" "$a"
|
||||
patchelf --set-rpath "$out/lib:${boehmgc.out}/lib" "$a"
|
||||
done
|
||||
for a in "$out"/lib/*.so; do
|
||||
patchelf --set-rpath "$out/lib:${boehmgc.out}/lib" "$a"
|
||||
done
|
||||
sed -i -e "s|\-lgc|\-L${boehmgc.out}\/lib -lgc|" $out/lib/config.jam
|
||||
wrapProgram $out/bin/dylan-compiler --suffix PATH : ${gcc}/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://opendylan.org";
|
||||
description = "Multi-paradigm functional and object-oriented programming language";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Build Open Dylan from source using the binary builds to bootstrap.
|
||||
{lib, stdenv, fetchFromGitHub, boehmgc, mps, gnused, opendylan-bootstrap, autoconf, automake, perl, makeWrapper, gcc }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "opendylan";
|
||||
version = "2016.1pre";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dylan-lang";
|
||||
repo = "opendylan";
|
||||
rev = "cd9a8395586d33cc43a8611c1dc0513e69ee82dd";
|
||||
hash = "sha256-i1wr4mBUbZhL8ENFGz8gV/mMzSJsj1AdJLd4WU9tIQM=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper autoconf automake ];
|
||||
buildInputs = (if stdenv.hostPlatform.system == "i686-linux" then [ mps ] else [ boehmgc ]) ++ [
|
||||
opendylan-bootstrap boehmgc perl
|
||||
];
|
||||
|
||||
preConfigure = if stdenv.hostPlatform.system == "i686-linux" then ''
|
||||
mkdir -p $TMPDIR/mps
|
||||
tar --strip-components=1 -xf ${mps.src} -C $TMPDIR/mps
|
||||
./autogen.sh
|
||||
''
|
||||
else ''
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
(if stdenv.hostPlatform.system == "i686-linux" then "--with-mps=$(TMPDIR)/mps" else "--with-gc=${boehmgc.out}")
|
||||
];
|
||||
buildPhase = "make 3-stage-bootstrap";
|
||||
|
||||
postInstall = "wrapProgram $out/bin/dylan-compiler --suffix PATH : ${gcc}/bin";
|
||||
|
||||
meta = {
|
||||
homepage = "https://opendylan.org";
|
||||
description = "Multi-paradigm functional and object-oriented programming language";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
broken = true; # last successful build 2020-12-11
|
||||
};
|
||||
}
|
@ -1018,6 +1018,8 @@ mapAliases ({
|
||||
openconnect_head = openconnect_unstable; # Added 2022-03-29
|
||||
openconnect_gnutls = openconnect; # Added 2022-03-29
|
||||
openconnect_unstable = throw "openconnect_unstable was removed from nixpkgs as it was not being updated"; # Added 2023-06-01
|
||||
opendylan = throw "opendylan has been removed from nixpkgs as it was broken"; # Added 2024-07-15
|
||||
opendylan_bin = throw "opendylan_bin has been removed from nixpkgs as it was broken"; # Added 2024-07-15
|
||||
openelec-dvb-firmware = libreelec-dvb-firmware; # Added 2021-05-10
|
||||
openethereum = throw "openethereum development has ceased by upstream. Use alternate clients such as go-ethereum, erigon, or nethermind"; # Added 2024-05-13
|
||||
openimagedenoise_1_2_x = throw "'openimagedenoise_1_2_x' has been renamed to/replaced by 'openimagedenoise'"; # Added 2023-06-07
|
||||
|
@ -11139,16 +11139,10 @@ with pkgs;
|
||||
|
||||
opendkim = callPackage ../development/libraries/opendkim { };
|
||||
|
||||
opendylan = callPackage ../development/compilers/opendylan {
|
||||
opendylan-bootstrap = opendylan_bin;
|
||||
};
|
||||
|
||||
openfec = callPackage ../development/libraries/openfec { };
|
||||
|
||||
ophis = python3Packages.callPackage ../development/compilers/ophis { };
|
||||
|
||||
opendylan_bin = callPackage ../development/compilers/opendylan/bin.nix { };
|
||||
|
||||
open-ecard = callPackage ../tools/security/open-ecard { };
|
||||
|
||||
open-interpreter = with python3Packages; toPythonApplication open-interpreter;
|
||||
|
Loading…
Reference in New Issue
Block a user