From ca81c7821844739c7a29badd010317066f608f5e Mon Sep 17 00:00:00 2001 From: ajs124 Date: Thu, 31 Mar 2022 22:04:44 +0200 Subject: [PATCH] pure: remove after being marked broken for over two years It was marked in commit ae2a5a91ddf1923e6717ace65b5b8b92b4fd7ec4 by Luka Blaskovic on 2020-01-18 (commited on 2020-01-31) --- .../development/interpreters/pure/default.nix | 46 ------------------- .../pure-modules/audio/default.nix | 24 ---------- .../pure-modules/avahi/default.nix | 24 ---------- pkgs/development/pure-modules/csv/default.nix | 24 ---------- pkgs/development/pure-modules/doc/default.nix | 23 ---------- .../pure-modules/fastcgi/default.nix | 24 ---------- .../pure-modules/faust/default.nix | 24 ---------- pkgs/development/pure-modules/ffi/default.nix | 24 ---------- pkgs/development/pure-modules/gen/default.nix | 26 ----------- .../pure-modules/generic-setup-hook.sh | 2 - pkgs/development/pure-modules/gl/default.nix | 27 ----------- .../development/pure-modules/glpk/default.nix | 40 ---------------- .../pure-modules/gplot/default.nix | 24 ---------- pkgs/development/pure-modules/gsl/default.nix | 24 ---------- pkgs/development/pure-modules/gtk/default.nix | 24 ---------- .../pure-modules/liblo/default.nix | 24 ---------- .../development/pure-modules/lilv/default.nix | 24 ---------- pkgs/development/pure-modules/lv2/default.nix | 24 ---------- .../development/pure-modules/midi/default.nix | 24 ---------- .../development/pure-modules/mpfr/default.nix | 24 ---------- .../pure-modules/octave/default.nix | 26 ----------- .../development/pure-modules/odbc/default.nix | 24 ---------- .../pure-modules/pandoc/default.nix | 28 ----------- .../pure-modules/rational/default.nix | 24 ---------- .../pure-modules/readline/default.nix | 24 ---------- .../pure-modules/sockets/default.nix | 24 ---------- .../development/pure-modules/sql3/default.nix | 24 ---------- .../pure-modules/stldict/default.nix | 30 ------------ .../pure-modules/stllib/default.nix | 30 ------------ pkgs/development/pure-modules/tk/default.nix | 24 ---------- pkgs/development/pure-modules/xml/default.nix | 24 ---------- pkgs/top-level/all-packages.nix | 5 -- pkgs/top-level/pure-packages.nix | 33 ------------- 33 files changed, 820 deletions(-) delete mode 100644 pkgs/development/interpreters/pure/default.nix delete mode 100644 pkgs/development/pure-modules/audio/default.nix delete mode 100644 pkgs/development/pure-modules/avahi/default.nix delete mode 100644 pkgs/development/pure-modules/csv/default.nix delete mode 100644 pkgs/development/pure-modules/doc/default.nix delete mode 100644 pkgs/development/pure-modules/fastcgi/default.nix delete mode 100644 pkgs/development/pure-modules/faust/default.nix delete mode 100644 pkgs/development/pure-modules/ffi/default.nix delete mode 100644 pkgs/development/pure-modules/gen/default.nix delete mode 100644 pkgs/development/pure-modules/generic-setup-hook.sh delete mode 100644 pkgs/development/pure-modules/gl/default.nix delete mode 100644 pkgs/development/pure-modules/glpk/default.nix delete mode 100644 pkgs/development/pure-modules/gplot/default.nix delete mode 100644 pkgs/development/pure-modules/gsl/default.nix delete mode 100644 pkgs/development/pure-modules/gtk/default.nix delete mode 100644 pkgs/development/pure-modules/liblo/default.nix delete mode 100644 pkgs/development/pure-modules/lilv/default.nix delete mode 100644 pkgs/development/pure-modules/lv2/default.nix delete mode 100644 pkgs/development/pure-modules/midi/default.nix delete mode 100644 pkgs/development/pure-modules/mpfr/default.nix delete mode 100644 pkgs/development/pure-modules/octave/default.nix delete mode 100644 pkgs/development/pure-modules/odbc/default.nix delete mode 100644 pkgs/development/pure-modules/pandoc/default.nix delete mode 100644 pkgs/development/pure-modules/rational/default.nix delete mode 100644 pkgs/development/pure-modules/readline/default.nix delete mode 100644 pkgs/development/pure-modules/sockets/default.nix delete mode 100644 pkgs/development/pure-modules/sql3/default.nix delete mode 100644 pkgs/development/pure-modules/stldict/default.nix delete mode 100644 pkgs/development/pure-modules/stllib/default.nix delete mode 100644 pkgs/development/pure-modules/tk/default.nix delete mode 100644 pkgs/development/pure-modules/xml/default.nix delete mode 100644 pkgs/top-level/pure-packages.nix diff --git a/pkgs/development/interpreters/pure/default.nix b/pkgs/development/interpreters/pure/default.nix deleted file mode 100644 index d1c03bba5a31..000000000000 --- a/pkgs/development/interpreters/pure/default.nix +++ /dev/null @@ -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 ' $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; - }; -} diff --git a/pkgs/development/pure-modules/audio/default.nix b/pkgs/development/pure-modules/audio/default.nix deleted file mode 100644 index 5a19ef0a72d5..000000000000 --- a/pkgs/development/pure-modules/audio/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/avahi/default.nix b/pkgs/development/pure-modules/avahi/default.nix deleted file mode 100644 index d2f35ffca766..000000000000 --- a/pkgs/development/pure-modules/avahi/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/csv/default.nix b/pkgs/development/pure-modules/csv/default.nix deleted file mode 100644 index 767ac0432ee0..000000000000 --- a/pkgs/development/pure-modules/csv/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/doc/default.nix b/pkgs/development/pure-modules/doc/default.nix deleted file mode 100644 index 2940c58b21b6..000000000000 --- a/pkgs/development/pure-modules/doc/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/fastcgi/default.nix b/pkgs/development/pure-modules/fastcgi/default.nix deleted file mode 100644 index 63b91f9a4f2c..000000000000 --- a/pkgs/development/pure-modules/fastcgi/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/faust/default.nix b/pkgs/development/pure-modules/faust/default.nix deleted file mode 100644 index eef81e59cbf6..000000000000 --- a/pkgs/development/pure-modules/faust/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/ffi/default.nix b/pkgs/development/pure-modules/ffi/default.nix deleted file mode 100644 index fd119b309ba0..000000000000 --- a/pkgs/development/pure-modules/ffi/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/gen/default.nix b/pkgs/development/pure-modules/gen/default.nix deleted file mode 100644 index 9698f0659a2b..000000000000 --- a/pkgs/development/pure-modules/gen/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/generic-setup-hook.sh b/pkgs/development/pure-modules/generic-setup-hook.sh deleted file mode 100644 index efaa2211ae66..000000000000 --- a/pkgs/development/pure-modules/generic-setup-hook.sh +++ /dev/null @@ -1,2 +0,0 @@ -addToSearchPath PURE_INCLUDE $1/lib/pure -addToSearchPath PURE_LIBRARY $1/lib/pure diff --git a/pkgs/development/pure-modules/gl/default.nix b/pkgs/development/pure-modules/gl/default.nix deleted file mode 100644 index 479835d95794..000000000000 --- a/pkgs/development/pure-modules/gl/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/glpk/default.nix b/pkgs/development/pure-modules/glpk/default.nix deleted file mode 100644 index 112d1ef23594..000000000000 --- a/pkgs/development/pure-modules/glpk/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/gplot/default.nix b/pkgs/development/pure-modules/gplot/default.nix deleted file mode 100644 index 54fca97a9cd2..000000000000 --- a/pkgs/development/pure-modules/gplot/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/gsl/default.nix b/pkgs/development/pure-modules/gsl/default.nix deleted file mode 100644 index 7ba60a9ea6c4..000000000000 --- a/pkgs/development/pure-modules/gsl/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/gtk/default.nix b/pkgs/development/pure-modules/gtk/default.nix deleted file mode 100644 index adbd824abb69..000000000000 --- a/pkgs/development/pure-modules/gtk/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/liblo/default.nix b/pkgs/development/pure-modules/liblo/default.nix deleted file mode 100644 index d19c7b511cf1..000000000000 --- a/pkgs/development/pure-modules/liblo/default.nix +++ /dev/null @@ -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 Berkeley’s 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 ]; - }; -} diff --git a/pkgs/development/pure-modules/lilv/default.nix b/pkgs/development/pure-modules/lilv/default.nix deleted file mode 100644 index bcadeba5acff..000000000000 --- a/pkgs/development/pure-modules/lilv/default.nix +++ /dev/null @@ -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 Robillard’s 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 ]; - }; -} diff --git a/pkgs/development/pure-modules/lv2/default.nix b/pkgs/development/pure-modules/lv2/default.nix deleted file mode 100644 index 742db4eac413..000000000000 --- a/pkgs/development/pure-modules/lv2/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/midi/default.nix b/pkgs/development/pure-modules/midi/default.nix deleted file mode 100644 index f1a463414af1..000000000000 --- a/pkgs/development/pure-modules/midi/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/mpfr/default.nix b/pkgs/development/pure-modules/mpfr/default.nix deleted file mode 100644 index 3a2ef117b5b7..000000000000 --- a/pkgs/development/pure-modules/mpfr/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/octave/default.nix b/pkgs/development/pure-modules/octave/default.nix deleted file mode 100644 index ffb622567e5a..000000000000 --- a/pkgs/development/pure-modules/octave/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/odbc/default.nix b/pkgs/development/pure-modules/odbc/default.nix deleted file mode 100644 index e826eae2eb55..000000000000 --- a/pkgs/development/pure-modules/odbc/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/pandoc/default.nix b/pkgs/development/pure-modules/pandoc/default.nix deleted file mode 100644 index bf9bd988ddbc..000000000000 --- a/pkgs/development/pure-modules/pandoc/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/rational/default.nix b/pkgs/development/pure-modules/rational/default.nix deleted file mode 100644 index 2dfed3422507..000000000000 --- a/pkgs/development/pure-modules/rational/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/readline/default.nix b/pkgs/development/pure-modules/readline/default.nix deleted file mode 100644 index 283d75323bef..000000000000 --- a/pkgs/development/pure-modules/readline/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/sockets/default.nix b/pkgs/development/pure-modules/sockets/default.nix deleted file mode 100644 index f50d3f3efbf7..000000000000 --- a/pkgs/development/pure-modules/sockets/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/sql3/default.nix b/pkgs/development/pure-modules/sql3/default.nix deleted file mode 100644 index 8db3fa58085d..000000000000 --- a/pkgs/development/pure-modules/sql3/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/stldict/default.nix b/pkgs/development/pure-modules/stldict/default.nix deleted file mode 100644 index 145617bc83ec..000000000000 --- a/pkgs/development/pure-modules/stldict/default.nix +++ /dev/null @@ -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 ' $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 ]; - }; -} diff --git a/pkgs/development/pure-modules/stllib/default.nix b/pkgs/development/pure-modules/stllib/default.nix deleted file mode 100644 index dabdb73fd7ce..000000000000 --- a/pkgs/development/pure-modules/stllib/default.nix +++ /dev/null @@ -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 ' $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 ]; - }; -} diff --git a/pkgs/development/pure-modules/tk/default.nix b/pkgs/development/pure-modules/tk/default.nix deleted file mode 100644 index 35da57f47cda..000000000000 --- a/pkgs/development/pure-modules/tk/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/development/pure-modules/xml/default.nix b/pkgs/development/pure-modules/xml/default.nix deleted file mode 100644 index 92f4b62966e0..000000000000 --- a/pkgs/development/pure-modules/xml/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 545eb4e466a6..a77d31c46985 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 diff --git a/pkgs/top-level/pure-packages.nix b/pkgs/top-level/pure-packages.nix deleted file mode 100644 index 005e09cc003e..000000000000 --- a/pkgs/top-level/pure-packages.nix +++ /dev/null @@ -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 { }; -}