pure: remove after being marked broken for over two years

It was marked in commit ae2a5a91dd by Luka Blaskovic on 2020-01-18 (commited on 2020-01-31)
This commit is contained in:
ajs124 2022-03-31 22:04:44 +02:00
parent f75ec63a9b
commit ca81c78218
33 changed files with 0 additions and 820 deletions

View file

@ -1,46 +0,0 @@
{ lib, stdenv, fetchurl, makeWrapper,
libllvm, gmp, mpfr, readline, bison, flex }:
stdenv.mkDerivation rec {
baseName="pure";
version="0.68";
name="${baseName}-${version}";
src = fetchurl {
url="https://github.com/agraef/pure-lang/releases/download/${name}/${name}.tar.gz";
sha256="0px6x5ivcdbbp2pz5n1r1cwg1syadklhjw8piqhl63n91i4r7iyb";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ bison flex ];
propagatedBuildInputs = [ libllvm gmp mpfr readline ];
NIX_LDFLAGS = "-lLLVMJIT";
postPatch = ''
for f in expr.cc matcher.cc printer.cc symtable.cc parserdefs.hh; do
sed -i '1i\#include <stddef.h>' $f
done
'';
configureFlags = [ "--enable-release" ];
doCheck = true;
checkPhase = ''
LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${libllvm}/lib make check
'';
postInstall = ''
wrapProgram $out/bin/pure --prefix LD_LIBRARY_PATH : ${libllvm}/lib
'';
meta = {
description = "A modern-style functional programming language based on term rewriting";
maintainers = with lib.maintainers;
[
raskin
asppsa
];
platforms = with lib.platforms;
linux;
license = lib.licenses.gpl3Plus;
broken = true;
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, portaudio, fftw, libsndfile, libsamplerate }:
stdenv.mkDerivation rec {
pname = "pure-audio";
version = "0.6";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-audio-${version}.tar.gz";
sha256 = "c1f2a5da73983efb5a54f86d57ba93713ebed20ff0c72de9b3467f10f2904ee0";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure portaudio fftw libsndfile libsamplerate ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A digital audio interface for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-audio.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, avahi }:
stdenv.mkDerivation rec {
pname = "pure-avahi";
version = "0.3";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-avahi-${version}.tar.gz";
sha256 = "5fac8a6e3a54e45648ceb207ee0061b22eac8c4e668b8d53f13eb338b09c9160";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure avahi ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A digital audio interface for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-avahi.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
pname = "pure-csv";
version = "1.6";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-csv-${version}.tar.gz";
sha256 = "fe7c4edebe8208c54d5792a9eefaeb28c4a58b9094d161a6dda8126f0823ab3c";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "Comma Separated Value Interface for the Pure Programming Language";
homepage = "http://puredocs.bitbucket.org/pure-csv.html";
license = lib.licenses.free;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,23 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
pname = "pure-doc";
version = "0.7";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-doc-${version}.tar.gz";
sha256 = "cfa880573941f37868269bcc443a09fecd2a141a78556383d2213f6c9f45ddd9";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pure ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
meta = {
description = "A simple utility for literate programming and documenting source code written in the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-doc.html";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, fcgi }:
stdenv.mkDerivation rec {
pname = "pure-fastcgi";
version = "0.6";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-fastcgi-${version}.tar.gz";
sha256 = "aa5789cc1e17521c01f349ee82ce2a00500e025b3f8494f89a7ebe165b5aabc7";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure fcgi ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "Lets you write FastCGI scripts with Pure, to be run by web servers like Apache";
homepage = "http://puredocs.bitbucket.org/pure-fastcgi.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, faust, libtool }:
stdenv.mkDerivation rec {
pname = "pure-faust";
version = "0.11";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-faust-${version}.tar.gz";
sha256 = "51278a3b0807c4770163dc2ce423507dcf0ffec9cd1c1fbc08426d07294f6ae0";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure faust libtool ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "Lets you load and run Faust-generated signal processing modules in Pure";
homepage = "http://puredocs.bitbucket.org/pure-faust.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, libffi }:
stdenv.mkDerivation rec {
pname = "pure-ffi";
version = "0.14";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-ffi-${version}.tar.gz";
sha256 = "0331f48efaae40af21b23cf286fd7eac0ea0a249d08fd97bf23246929c0ea71a";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure libffi ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "Provides an interface to libffi which enables you to call C functions from Pure and vice versa";
homepage = "http://puredocs.bitbucket.org/pure-ffi.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,26 +0,0 @@
{ lib, stdenv, fetchurl,
pkg-config, pure, haskellPackages }:
stdenv.mkDerivation rec {
pname = "pure-gen";
version = "0.20";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gen-${version}.tar.gz";
sha256 = "cfadd99a378b296325937d2492347611cc1e1d9f24594f91f3c2293eca01a4a8";
};
hsEnv = haskellPackages.ghcWithPackages (hsPkgs : [hsPkgs.language-c]);
nativeBuildInputs = [ pkg-config ];
buildInputs = [ hsEnv pure ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
meta = {
description = "Pure interface generator";
homepage = "http://puredocs.bitbucket.org/pure-gen.html";
license = lib.licenses.free;
platforms = lib.platforms.linux;
hydraPlatforms = [];
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,2 +0,0 @@
addToSearchPath PURE_INCLUDE $1/lib/pure
addToSearchPath PURE_LIBRARY $1/lib/pure

View file

@ -1,27 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, freeglut, libGLU, libGL, xlibsWrapper }:
stdenv.mkDerivation rec {
pname = "pure-gl";
version = "0.9";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gl-${version}.tar.gz";
sha256 = "edd594222f89ae372067eda6679a37488986b9739b5b79b4a25ac48255d31bba";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure freeglut libGLU libGL xlibsWrapper ];
makeFlags = [
"libdir=${placeholder "out"}/lib"
"prefix=${placeholder "out"}/"
];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "Fairly complete Pure bindings for the OpenGL graphics library, which allow you to do 2D and 3D graphics programming with Pure";
homepage = "http://puredocs.bitbucket.org/pure-gl.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,40 +0,0 @@
{ lib, stdenv, fetchurl,
pkg-config, pure, glpk, gmp, libtool, libmysqlclient, libiodbc }:
stdenv.mkDerivation rec {
pname = "pure-glpk";
version = "0.5";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-glpk-${version}.tar.gz";
sha256 = "5d6dc11706985dda02d96d481ea5f164c9e95ee446432fc4fc3d0db61a076346";
};
glpkWithExtras = lib.overrideDerivation glpk (attrs: {
propagatedBuildInputs = [ gmp libtool libmysqlclient libiodbc ];
CPPFLAGS = "-I${gmp.dev}/include";
preConfigure = ''
substituteInPlace configure \
--replace /usr/include/mysql ${libmysqlclient}/include/mysql
'';
configureFlags = [ "--enable-dl"
"--enable-odbc"
"--enable-mysql"
"--with-gmp=yes" ];
});
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure glpkWithExtras ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "GLPK interface for the Pure Programming Language";
homepage = "http://puredocs.bitbucket.org/pure-glpk.html";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, gnuplot }:
stdenv.mkDerivation rec {
pname = "pure-gplot";
version = "0.1";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gplot-${version}.tar.gz";
sha256 = "841ded98e4d1cdfaf78f95481e5995d0440bfda2d5df533d6741a6e7058a882c";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure gnuplot ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A pure binding to gnuplot";
homepage = "http://puredocs.bitbucket.org/pure-gplot.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pure, pkg-config, gsl }:
stdenv.mkDerivation rec {
pname = "pure-gsl";
version = "0.12";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gsl-${version}.tar.gz";
sha256 = "06bdd873d5417d90ca35093056a060b77365123ed24c3ac583cd3922d4c78a75";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure gsl ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "GNU Scientific Library interface for Pure";
homepage = "http://puredocs.bitbucket.org/pure-gsl.html";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, pure-ffi, gtk2 }:
stdenv.mkDerivation rec {
pname = "pure-gtk";
version = "0.13";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gtk-${version}.tar.gz";
sha256 = "e659ff1bc5809ce35b810f8ac3fb7e8cadaaef13996537d8632e2f86ed76d203";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure pure-ffi gtk2 ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A collection of bindings to use the GTK GUI toolkit version 2.x with Pure";
homepage = "http://puredocs.bitbucket.org/pure-gtk.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, liblo }:
stdenv.mkDerivation rec {
pname = "pure-liblo";
version = "0.9";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-liblo-${version}.tar.gz";
sha256 = "c2ba4d6f94489acf8a8fac73982ae03d5ad4113146eb1f7d6558a956c57cb8ee";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure liblo ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A quick and dirty Pure wrapper for the liblo library, which implements Berkeleys Open Sound Control (OSC) protocol";
homepage = "http://puredocs.bitbucket.org/pure-liblo.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, lilv, lv2, serd, sord, sratom }:
stdenv.mkDerivation rec {
pname = "pure-lilv";
version = "0.4";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-lilv-${version}.tar.gz";
sha256 = "af20982fe43e8dce62d50bf7a78e461ab36c308325b123cddbababf0d3beaf9f";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure lilv lv2 serd sord sratom ];
makeFlags = [ "CFLAGS=-I${lilv}/include/lilv-0" "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A Pure module for David Robillards Lilv, a library for LV2 plugin host writers";
homepage = "http://puredocs.bitbucket.org/pure-lilv.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, lv2 }:
stdenv.mkDerivation rec {
pname = "pure-lv2";
version = "0.2";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-lv2-${version}.tar.gz";
sha256 = "721cacd831781d8309e7ecabb0ee7c01da17e75c5642a5627cf158bfb36093e1";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure lv2 ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A generic LV2 plugin wrapper for Pure which can be linked with batch-compiled Pure scripts to obtain LV2 plugin modules";
homepage = "http://puredocs.bitbucket.org/pure-lv2.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, portmidi }:
stdenv.mkDerivation rec {
pname = "pure-midi";
version = "0.6";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-midi-${version}.tar.gz";
sha256 = "817ae9fa5f443a8c478a6770f36091e3cf99f3515c74e00d09ca958dead1e7eb";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure portmidi ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A MIDI interface for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-midi.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
pname = "pure-mpfr";
version = "0.5";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-mpfr-${version}.tar.gz";
sha256 = "39d2255c2c0c2d60ce727be178b5e5a06f7c92eb365976c49c4a34b1edc576e7";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "This module makes the MPFR multiprecision floats available in Pure";
homepage = "http://puredocs.bitbucket.org/pure-mpfr.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,26 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, octave }:
stdenv.mkDerivation rec {
pname = "pure-octave";
version = "0.9";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-octave-${version}.tar.gz";
sha256 = "0l1mvmi3rpabzjcrk6p04rdn922mvdm9x67zby3dha5iiccc47q0";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure octave ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "An Octave module for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-octave.html";
license = lib.licenses.gpl3Plus;
# This is set to none for now because it does not work with the
# current stable version of Octave.
platforms = lib.platforms.none;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, libiodbc }:
stdenv.mkDerivation rec {
pname = "pure-odbc";
version = "0.10";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-odbc-${version}.tar.gz";
sha256 = "1907e9ebca11cc68762cf7046084b31e9e2bf056df85c40ccbcbe9f02221ff8d";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure libiodbc ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A simple ODBC interface for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-odbc.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,28 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, pandoc, gawk, getopt }:
stdenv.mkDerivation rec {
pname = "pure-pandoc";
version = "0.1";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-pandoc-${version}.tar.gz";
sha256 = "0f23a17549048ca3a8f4936ea9e931feb05997390b486850936b746996350cda";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pure ];
propagatedBuildInputs = [ pandoc gawk getopt ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
preInstall = ''
mkdir -p $out/bin
mkdir -p $out/share/man/man1
'';
meta = {
description = "Converts Sphinx-formatted Pure documentation files to Markdown and other formats using Pandoc";
homepage = "http://puredocs.bitbucket.org/pure-pandoc.html";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
pname = "pure-rational";
version = "0.1";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-rational-${version}.tar.gz";
sha256 = "62cb4079a0dadd232a859e577e97e50e9718ccfcc5983c4d9c4c32cac7a9bafa";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A collection of utility functions for rational numbers, and a module for doing interval arithmetic in Pure";
homepage = "http://puredocs.bitbucket.org/pure-rational.html";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, readline }:
stdenv.mkDerivation rec {
pname = "pure-readline";
version = "0.3";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-readline-${version}.tar.gz";
sha256 = "db8e6663b1c085466c09662fe86d952b6f4ffdafeecffe805c681ab91c910886";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure readline ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A trivial wrapper around GNU readline, which gives Pure scripts access to the most important facilities of the readline interface";
homepage = "http://puredocs.bitbucket.org/pure-readline.html";
license = lib.licenses.free;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
pname = "pure-sockets";
version = "0.7";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-sockets-${version}.tar.gz";
sha256 = "4f2769618ae5818cf6005bb08bcf02fe359a2e31998d12dc0c72f0494e9c0420";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A Pure interface to the Berkeley socket functions";
homepage = "http://puredocs.bitbucket.org/pure-sockets.html";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, sqlite }:
stdenv.mkDerivation rec {
pname = "pure-sql3";
version = "0.5";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-sql3-${version}.tar.gz";
sha256 = "b9f79dd443c8ffc5cede51e2af617f24726f5c0409aab4948c9847e6adb53c37";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure sqlite ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A SQLite module for the Pure programming language";
homepage = "http://puredocs.bitbucket.org/pure-sql3.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,30 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
pname = "pure-stldict";
version = "0.8";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-stldict-${version}.tar.gz";
sha256 = "5b894ae6dc574c7022258e2732bea649c82c959ec4d0be13fb5a3e8ba8488f28";
};
postPatch = ''
for f in hashdict.cc orddict.cc; do
sed -i '1i\#include <stddef.h>' $f
done
'';
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A Pure interface to the C++ dictionary containers map and unordered_map";
homepage = "http://puredocs.bitbucket.org/pure-stldict.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,30 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
pname = "pure-stllib";
version = "0.6";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-stllib-${version}.tar.gz";
sha256 = "1d550764fc2f8ba6ddbd1fbd3da2d6965b69e2c992747265d9ebe4f16aa5e455";
};
postPatch = ''
for f in pure-stlmap/{stlmap.cpp,stlmmap.cpp,stlhmap.cpp}; do
sed -i '1i\#include <cstddef>' $f
done
'';
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "An umbrella package that contains a pair of Pure addons, pure-stlvec and pure-stlmap";
homepage = "http://puredocs.bitbucket.org/pure-stllib.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, tcl, tk, xlibsWrapper }:
stdenv.mkDerivation rec {
pname = "pure-tk";
version = "0.5";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-tk-${version}.tar.gz";
sha256 = "3b6e97e2d723d5a05bf25f4ac62068ac17a1fd81db03e1986366097bf071a516";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure tcl tk xlibsWrapper ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A basic interface between Pure and Tcl/Tk";
homepage = "http://puredocs.bitbucket.org/pure-tk.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, pure, libxml2, libxslt }:
stdenv.mkDerivation rec {
pname = "pure-xml";
version = "0.7";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-xml-${version}.tar.gz";
sha256 = "e862dec060917a285bc3befc90f4eb70b6cc33136fb524ad3aa173714a35b0f7";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure libxml2 libxslt ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A simplified interface to the Gnome libxml2 and libxslt libraries for Pure";
homepage = "http://puredocs.bitbucket.org/pure-xml.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}

View file

@ -14059,11 +14059,6 @@ with pkgs;
polyml56 = callPackage ../development/compilers/polyml/5.6.nix { };
polyml57 = callPackage ../development/compilers/polyml/5.7.nix { };
pure = callPackage ../development/interpreters/pure {
/*llvm = llvm_35;*/
};
purePackages = recurseIntoAttrs (callPackage ./pure-packages.nix {});
# Python interpreters. All standard library modules are included except for tkinter, which is
# available as `pythonPackages.tkinter` and can be used as any other Python package.
# When switching these sets, please update docs at ../../doc/languages-frameworks/python.md

View file

@ -1,33 +0,0 @@
{ callPackage }:
rec {
audio = callPackage ../development/pure-modules/audio { };
avahi = callPackage ../development/pure-modules/avahi { };
csv = callPackage ../development/pure-modules/csv { };
doc = callPackage ../development/pure-modules/doc { };
fastcgi = callPackage ../development/pure-modules/fastcgi { };
faust = callPackage ../development/pure-modules/faust { };
ffi = callPackage ../development/pure-modules/ffi { };
gen = callPackage ../development/pure-modules/gen { };
gl = callPackage ../development/pure-modules/gl { };
glpk = callPackage ../development/pure-modules/glpk { };
gplot = callPackage ../development/pure-modules/gplot { };
gsl = callPackage ../development/pure-modules/gsl { };
gtk = callPackage ../development/pure-modules/gtk { pure-ffi = ffi; };
liblo = callPackage ../development/pure-modules/liblo { };
lilv = callPackage ../development/pure-modules/lilv { };
lv2 = callPackage ../development/pure-modules/lv2 { };
midi = callPackage ../development/pure-modules/midi { };
mpfr = callPackage ../development/pure-modules/mpfr { };
octave = callPackage ../development/pure-modules/octave { };
odbc = callPackage ../development/pure-modules/odbc { };
pandoc = callPackage ../development/pure-modules/pandoc { };
rational = callPackage ../development/pure-modules/rational { };
readline = callPackage ../development/pure-modules/readline { };
sockets = callPackage ../development/pure-modules/sockets { };
sql3 = callPackage ../development/pure-modules/sql3 { };
stldict = callPackage ../development/pure-modules/stldict { };
stllib = callPackage ../development/pure-modules/stllib { };
tk = callPackage ../development/pure-modules/tk { };
xml = callPackage ../development/pure-modules/xml { };
}